Event on view displayed change (Youtube MPMoviePlayerViewController)

前端 未结 1 622
清酒与你
清酒与你 2021-01-14 07:03

I would like to know when the YouTube MPMoviePlayerViewController appear (programmatically) after have clicked on the UIWebView which permit to play the video in iOS, to get

相关标签:
1条回答
  • 2021-01-14 07:40

    You will, under no circumstances receive any notifications from the WebView embedded player.

    Update: This is not entirely true. There are no documented notifications. However, there are notifications used by the UIWebView embedded movie player (which actually is NOT a MPMoviePlayerController).

    See my answer on How to receive NSNotifications from UIWebView embedded Youtube video playback

    0 讨论(0)
提交回复
热议问题