作者热门文章
- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
UIModalTransitionStyleFlipHorizontal
的(NSTimeInterval)duration
默认值是多少,它与-[UIViewController presentModalViewController:animated:]
相关?
最佳答案
如果您在未明确设置动画时询问持续时间的默认值是多少,框架标题中提供了答案:
* 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.
因此,由于您无法在方法调用上设置值,因此执行动画应该需要四分之一秒。
关于ios - UIModalTransitionStyleFlipHorizontal 动画持续时间?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6418557/
我是一名优秀的程序员,十分优秀!