更新时间:2022-01-01 22:02:35
我不能担保所有视频类型,但是当我在 UIWebView
中播放***视频时,当用户通过订阅私人通知类型来按完成":
I can't vouch for all video types but when I play a *** video in a UIWebView
I can capture the event when the user presses 'Done' by subscribing to a private notification type:
[[NSNotificationCenter defaultCenter] addObserver:自我选择器:@selector(moviePlayerDidExitFullscreen :)名称:@"UIMoviePlayerControllerDidExitFullscreenNotification"对象:无];
这适用于iOS 4.3和5.0.
This works in iOS 4.3 and 5.0.