UIImagePickerController console message
I am using UIImagePickerController for selecting images from the phot开发者_运维问答o library. But I am getting a message on the console saying "Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations."
What is this due to ?
Thanks
Several people appear to be having the same problem. None of these links provide a solution (as far as I can tell), so this post is intended just as a starting point for more searching. I have made it CW.
- stackoverflow: Single-Stage vs Two-Stage Animation for iPhone Apps
- cocoabuilder: how to change to the smoother single stage animation
- stackoverflow: tabbarcontroller and navigationcontrollers in landscape mode
- Apple support: 11186784
That normally means you have implemented one of:
willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:
willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:
on one of your view controllers, even if they are empty. This is neither wrong nor deprecated, the message just say it could possibly done better if you moved your implementation to: willAnimateRotationToInterfaceOrientation:duration:
精彩评论