在iOS8 UIMoviePlayerControllerWillExitFullscreenNotification
中不再存在,用于检测全屏YouTube视频退出的解决方案是在UIWindowDidBecomeHiddenNotification
事情是UIWindowDidBecomeHiddenNotification
来不及改变方向,所以我想知道我是否可以手动调用方法(在appdelegate中)
-(NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window