摘要: 简单的来说用xcode4.5直接创建的项目是直接支持 ios6.0横竖屏的,但是用IOS5.0的模拟器运行发现不支持横竖屏,这时候就要把以前的 横竖屏函数搬出来了。针对横屏示例:// ios5下的横屏- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{return UIInterfaceOrientationIsLandscape(interfaceOrientation);}// ios6下的横屏-(BOOL)shouldAutorotate{return YE 阅读全文
posted @ 2013-04-11 10:35 SuperHappy 阅读(974) 评论(0) 推荐(0) 编辑