after launch in landscape cannot force view to start in portrait
问题 Hy, I know that this subject has been asked before, but I went over all solutions and none solved the case I'm having. My app is all in portrait format, only one view controller in landscape format. I added to all view controllers the following code to force Portrait Orientation regardless the device orientation: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return UIInterfaceOrientationMaskPortrait; } -(BOOL)shouldAutorotate{ return NO; } -