Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sanjeev

macrumors newbie
Original poster
Dec 18, 2009
11
0
Hi,

I have a question:-

Can we rotate the UIWindow itself before loading the rootviewcontroller on it.

I am playing a splash video on the UIWindow. After the splash video is over, the rootviewcontroller loads, i.e I am adding the MPMoviePlayerController's object on the window itself.

I am launching the app in LandscapeRight

Now when I am rotating the device from LandscapeRight to LandscapeLeft, till the time the video is getting played, its not getting rotated. After the rootviewcontroller is loaded, then we can rotate the views from LandscapeRight to LandscapeLeft using shouldAutorotateToInterfaceOrientation method.

Does anybody has any idea related to this problem.

Thanks..
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.