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


source to share





All Articles