I am encoding a video processing application and am going to send it to the application store when ios 8.1 is released. I updated my iPhone as well as Xcode and all the hell broke. In my simple singlecontroller interface, nothing else rotates except the status bar, which also does not automatically become hidden in landscape mode ...
I figured it was because I used the deprecated willAnimateRotationToInterfaceOrientation: for what small custom rotation actions I had, so I implemented traitCollectionDidChange: and viewWillTransitionToSize: instead. However, viewWillTransitionToSize is never called in my application and traitCollectionDidChange: is called only once at startup. The device simply does not inform the application that the device is rotated.
After googling, I also tried using the name: UIDeviceOrientationDidChangeNotification. At least my selector is really called for this, but I don't know how to manually handle all the rotation.
My didFinishLaunching ... and viewDidLoad are very simple. highlight UIWindow, storyboard, install my view manager from there, make it rootviewcontroller, makekeyandvisible. Everything is based on one of Apple AVFoundation demo applications. Then, in didload, I add some subheadings and a toolbar, etc., Nothing unusual and, obviously, it worked on 8.0 and 8.0.2 on all types of devices, as well as on the 7.1 simulator, etc. Still working flawlessly on my iPad with 8.0. 2 ... Reason: I did not post any code, I am 100% sure that for this purpose everything is correct.
The main thing is that I can not find anyone with this problem. No errors in the console or elsewhere.
- , ? , , , , . / ?
, , UIDeviceOrientationDidChangeNotification, / ? , , : (
!