In navigation controllers, one screen has the ability to play a video, being able to be viewed in both portrait and landscape, and then upon completion a new view controller is pushed in the navigation controller, but I ONLY want to show in portrait.
I've tried using
[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationPortrait];
before AND after the segue, but that doesn't work for me. The status bar is there but the view draws itself in landscape format.
Any ideas how to fix this?
Thanks!
[UPDATED] None of the work-arounds ended up working, so I ended up just presenting it modally until I can find a better solution.
Thanks for the answers!
None of the work-arounds ended up working, so I ended up just presenting it modally until I can find a better solution.
Thanks for the answers!
(Also added to original post)