摘要:
添加Rotation文件,用类别为UITabBarController添加旋转://Rotation.h文件#import<Foundation/Foundation.h>@interfaceUITabBarController(Rotation)-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)x;@endRotation.m文件:#import"Rotation.h"@implementationUITabBarController(Rotation)-(BOOL)sh 阅读全文