The navigation bar is not displayed correctly when you return from Movie Player in iphone SDK

advertisements

In my app, I load a HTML Page in Web View which contains a video. Till this the navigation bar is shown properly.

But when i play video with by default Movie Player in iphone & try to see it in Both Landscape/Portrait mode with Full Screen. When get Back from Movie Player, the Navigation Bar is go to upside & status Bar is Cover some view.

I am not taken mediaPlayer framework or any other class in my project.

How can i solved This issue??


when you get back from movie play in that class viewWillAppear: method post this line...

[[UIApplication sharedApplication] setStatusBarHidden:NO animated:NO];