/////禁止全局 横屏 - (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{ return UIInterfaceOrientationMaskPortrait; } //横屏调整视图 - (void)layoutSubviews{ barView.frame = CGRectMake(0, 0, SCREEN_WIDTH, DrawerBarHeight); NSLog(@"heng ping le a qin "); }
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/tech/app/5212.html