所以它看起来像我第一次推一个UIViewController我的UINavigationController堆栈这种方法被称为:的iOS 5.1 shouldAutorotateToInterfaceOrientation:调用,但didRotateFromInterfaceOrientation:是不是第一次加载
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
但这种方法是不是:
-(void) didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation
现在,如果我加载UIViewContoller后旋转设备,那么这两个都按预期发射。
为什么didRotateFromInterfaceOrientation
没有被调用时,我的控制器的负荷?
那么问题是什么? – 2013-03-04 17:24:54
刚更新的问题 – Slee 2013-03-04 17:34:31