views:

405

answers:

1

Hi all,

I am playing video with MPMoviePlayer in my application. How i rotate video in my iphone landscape to portrait and vice versa.

A: 

You can't, without using a private API call, but you can synthesize it - you need a pre-rotated video file.

You can also look at playing the video in a UIWebView

For details see this thread http://www.iphonedevsdk.com/forum/iphone-sdk-development/2146-can-you-force-movie-play-portrait-mode.html#post125287

Andiih