开发者

How Long is the iPad Roation Duration?

Pretty simple question but I can't seem to find an answer. Does anyone know the length in seconds the duration of the iPad Roation animation? I can guess that it's something short like 0.5 or 1 second long but if anyone knows an exact numbe开发者_如何学运维r it would be handy.

Thanks!


- (void) willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration

If you are trying to do something in sync use the above method and grab the duration. And ideally also initiate the animation you wish to perform there as well.

Also I believe its 0.4, most standard animations are 0.3 or 0.4s. IIRC

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜