iphone - 有没有办法调整 UIModalTransitionStyle 速度/持续时间?
<p><p>我想使用 <code>UIModalTransitionStyleFlipHorizontal</code>,但要快一点。</p>
<p>这可能吗?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>试试这个类方法:</p>
<pre><code>[UIView transitionFromView:self.view
toView:newView.view
duration:0.1f
options:UIViewAnimationOptionTransitionFlipFromLeft
completion:nil];
</code></pre>
<p>Ps:选项为:<strong>UIViewAnimationOptionTransitionFlipFromLeft</strong><br/>
不是 <strong>UIViewAnimationTransitionFlipFromLeft</strong></p></p>
<p style="font-size: 20px;">关于iphone - 有没有办法调整 UIModalTransitionStyle 速度/持续时间?,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/8087879/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/8087879/
</a>
</p>
页:
[1]