iphone - 改变 ViewController 的过渡方向?
<p><div>
<aside class="s-notice s-notice__info post-notice js-post-notice mb16"role="status">
<div class="d-flex fd-column fw-nowrap">
<div class="d-flex fw-nowrap">
<div class="flex--item wmn0 fl1 lh-lg">
<div class="flex--item fl1 lh-lg">
<b>这个问题在这里已经有了答案</b>:
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>您可以通过搜索 Stack Overflow 找到答案。例如这里:
<a href="https://stackoverflow.com/questions/2215672/how-to-change-the-push-and-pop-animations-in-a-navigation-based-app" rel="noreferrer noopener nofollow">How to change the Push and Pop animations in a navigation based app</a> </p>
<pre><code>MainView *nextView = [ init];
[UIView animateWithDuration:0.75
animations:^{
;
;
;
}];
</code></pre>
<p>这在 MonoTouch 中很容易翻译,并且会变成类似(未经测试):</p>
<pre><code>UIView.Animate(0.75f, 0f, UIViewAnimationOptions.CurveEaseIn, delegate {
navController.PushViewController(...);
UIView.SetAnimationTransition(UIViewAnimationTransition.FlipFromRight, navController.View, false);
}, null);
</code></pre></p>
<p style="font-size: 20px;">关于iphone - 改变 ViewController 的过渡方向?,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/12643607/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/12643607/
</a>
</p>
页:
[1]