I'm having a bad time trying to set the new UIInterfaceOrientations from iOS 6.
Resuming my app:
- My app have a bunch of views;
- Almost every view should be shown on Portrait orientation;
- 2 of my views (the ones that play videos with
MPMoviePlayerViewController
) should rotate to left, right and portrait orientations.
My original idea was to set the app supported orientation to Portrait and than change (don't know how) the supported orientation from the video player views.
What would be the best way to deal with this?
Thank you in advance!
return UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskLandscapeLeft;
that were on your link really helped me to figure out how the orientations works – Untitled