Reputation: 3790
I am calling a youtube channel on a UIWebView
. When user selects a video, device launches its video player as normal. However, when video ends or user finishes it returning to view, an offset is applied to whole app!! All views have an offset on top but this only happens on iPad and iPad simulator with compatibility mode, on iPhone and iPhone simulator not! How to solve it? Thank you.
Upvotes: 1
Views: 235
Reputation: 3790
Problem is that status bar dissapears after video execution.
[[UIApplication sharedApplication] setStatusBarHidden:NO];
problem is beeing solved when an event is fired using NSNotificationCenter
Upvotes: 2