/////禁止全局 横屏 - (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 "); }
时间: 2024-11-10 13:00:13