所以它看起來像我第一次推一個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