Jaume
Jaume

Reputation: 3790

iOS view offset after youTube video execution

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.

enter image description here

Upvotes: 1

Views: 235

Answers (1)

Jaume
Jaume

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

Related Questions