ma1*_*w28 5 animation duration uikit ios uimodaltransitionstyle
什么是(NSTimeInterval)durationfor 的默认值UIModalTransitionStyleFlipHorizontal,它与-[UIViewController presentModalViewController:animated:]?有关?
小智 1
如果您询问在未显式设置动画时持续时间的默认值是多少,框架标题中提供了答案:
Run Code Online (Sandbox Code Playgroud)* If the `duration' property of the animation is zero or negative it * is given the default duration, either the value of the * `animationDuration' transaction property or .25 seconds otherwise.
因此,由于您无法在方法调用上设置值,因此执行动画应该需要四分之一秒。
| 归档时间: |
|
| 查看次数: |
1628 次 |
| 最近记录: |