燃烧石头

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

函数判断都是系统提供,判断函数包含横竖屏时的两种情况。

横屏(上水画卷)

return UIInterfaceOrientationIsLandscape( interfaceOrientation );

竖屏(人物肖像)

return UIInterfaceOrientationIsPortrait( interfaceOrientation );

 

posted on 2012-07-06 17:49  燃烧石头  阅读(209)  评论(0编辑  收藏  举报