In 7.3/9/2+ Swift how to disable rotation animation, when device rotates?
问题 This question is strictly about iOS9+ Say you have an ordinary modern app (autolayout, storyboard, universal) which does allow all four rotation positions you want it to autorotate in the normal way, so it will change to your new constraint-based layouts when user rotates device from landscape to portrait But you simply want NO animation during the user rotating the device. You want it to just "click" to the new sideways or upright layout. The only way I have been able to achieve this is by