有哪个对象负责分发UIViewController
旋转方法调用,例如:
shouldAutorotateToInterfaceOrientation:
willRotateToInterfaceOrientation:duration:
willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:
willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:
didRotateFromInterfaceOrientation:
我认为它是UIApplication
(但也可能是AppDelegate或UIWindow)。
下一个问题是,这个对象如何知道要与哪个UIViewController
通信?
它如何知道哪个UIViewController
将其视图作为窗口的子视图?
是否可以发送消息或设置属性(某些对象的属性),以设置应用程序的“活动”UIViewController
?