How do I change or disable the rotating animation when screen orientation changes from landscape to portrait, or vice versa?
Objective-c – Change or disable the iPhone rotating animation when orientation changes
iphoneobjective cuideviceorientation
Related Topic
- Html – Preserve HTML font-size when iPhone orientation changes from portrait to landscape
- Html – Disable Auto Zoom in Input “Text” tag – Safari on iPhone
- Ios – Disable orientation change rotation animation
- Javascript – Change CSS Based on Mobile Orientation
- Ios – How to animate constraint changes
- Ios – Keeping the contentOffset in a UICollectionView while rotating Interface Orientation
- Ios – Launching into portrait-orientation from an iPhone 6 Plus home screen in landscape orientation results in wrong orientation
Best Answer
Yes, it is possible to disable the animation, without breaking everything apart.
The following codes will disable the "black box" rotation animation, without messing with other animations or orientation code:
Place it in your UIViewController and all should be well. Same method can be applied to any undesired animation in iOS.
Best of luck with your project.