/////禁止全局 横屏 - (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 "); }