在我的应用中,我打开一个包含视频的html页面。当我试图从全屏观看视频时回来。
Web视图消失。
我不知道为什么会这样。
我的代码如下:
-(void)viewWillAppear:(BOOL)animated
{
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(update:) name:@"UIMoviePlayerControllerWillExitFullscreenNotification" object:nil];
}
它也会进入更新方法,但不会向我显示webview。