摘要: 出处:http://www.roostersoftstudios.com/So iOS6 has launched and many who have existing app in production which have the ability to autorotate will need to upgrade to iOS6 eventually and if they are like me they may run into issues when converting converting over to the new SDK.What has changediOS asks 阅读全文
posted @ 2012-10-19 11:00 泪啸 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 在ios6.0中shouldAutorotateToInterfaceOrientation:几乎不在起作用了,ios使用shouldAutorotate来控制旋转效果。我测试ios6.0真正起作用的旋转有三种:1.采用info.plist的UISupportedInterfaceOrientations来控制方向2.是直接在UIWindow中加视图,这种方法可以脱离info.plist的控制,shouldAutorotate来自定义方向。3.使用rootViewController添加shouldAutorotate方法,但是受info.plist的限制。以上的方法都限制于顶层视图控制,如果 阅读全文
posted @ 2012-10-19 10:57 泪啸 阅读(1490) 评论(0) 推荐(0) 编辑