No rotation methods called view controller introduced by UIModalPresentationFormSheet in iOS 8

I represent UINavigationController

from modalPresentationStyle=UIModalPresentationFormSheet

on iPad with iOS 8 . In the root view controller, I need to find the moment when the screen rotation is performed, but I am not receiving any events that I expect:

  • -didRotateFromInterfaceOrientation:

    outdated and not called
  • New -viewWillTransitionToSize:withTransitionCoordinator:

    and -traitCollectionDidChange:

    not being called because the view doesn't seem to convert to size.
  • -application:didChangeStatusBarOrientation:

    called too early, not at the end of the rotation.

How can I find the end of the rotation?

+3
ios objective-c uiviewcontroller ios8


source to share


No one has answered this question yet

Check out similar questions:

1300
Transferring data between view controllers
84
presentViewController and displaying the navigation bar
nine
Children's view controller rotation modes are not named
7
Multiple Presented View and Rotate Controllers on iPad
6
iOS8. After clicking the UIViewController on the UINavigationController and rotating the device, the size is wrong in the previous view controller
4
ios7 displaying view controller does not rotate on view causing status bar to disappear
3
Introduce a rotatable controller over another view controller locked in portrait orientation on iOS 8
3
How do I get the correct view size for a UIModalPresentationFormSheet in iOS 8?
2
IOS 6 view controller board does not refresh after orientation change when covered by modular view controller
0
iPhone View Controller landscape / portrait issues



All Articles
Loading...
X
Show
Funny
Dev
Pics