I have got a UIViewController
in my app with a UIWebView
in it. The UIWebView
is fixed-size and configured to open any links in a new UIViewController
(browser). This works, but when I try clicking a video like YouTube or Vimeo from within the web view, it opens on top of the view controller. This would normally not be a problem, but I have an overlapping view that needs to get a message to move out of the way when this happens.
Is there a notification or any other way my view controller can get notified when a media player pops out of the UIWebView
? I really need this to work better, because it's really ugly the way it currently is.
Thanks!