摘要: 需要哪个viewController支持旋转,就要重写旋转方法。在IOS 6.0之前 只需要重写-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientationNS_DEPRECATED_IOS(2_0,6_0);但IOS 6.0 之后要重写两个方法了-(BOOL)shouldAutorotate;-(NSUInteger)supportedInterfaceOrientations;如果是含有UINavigationController、UITabBarController 阅读全文
posted @ 2013-06-07 21:38 wei8 阅读(317) 评论(0) 推荐(0)