tags:

views:

105

answers:

2

Hi,

I am creating a iPhone application where i play a video.

The problem is view(Video) is not rotating when i rotate the device but in the video palyer, the view is rotating

I am return yes in shouldAutorotateToInterfaceOrientation method

Can any one provide a solution for this.

Thanks

A: 

MPMoviePlayer does not rotate, it only appears in landscape mode. If you attempt to use known private APIs to rotate it your app will get rejected.

Greg Martin
A: 

But in the default player , it rotates in landscape mode alone, i.e., if I invert the device in landscape mode, the video also changes.

I want to achieve the same thing.

Is the default player using something else other than MVMoviePlayer.