iOS 强制屏幕实现旋转功能
1.创建工程,设置Device Orientation 2.在AppDelegate中实现下面这个方法:- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window { if (self.allowRotation) { return UIInterfaceOrientationM