Hi,
I want to play the video only in landscape mode in iPhone SDK.40(MPMoviePlayerViewController). It should not support portrait mode play back. How do we do this.
Hi,
I want to play the video only in landscape mode in iPhone SDK.40(MPMoviePlayerViewController). It should not support portrait mode play back. How do we do this.
I found this documentation here:
So basically you just need to create your own subclass of MPMoviePlayerViewController and override the shouldAutorotateToInterfaceOrientation: method, like so: