函数判断都是系统提供,判断函数包含横竖屏时的两种情况。
横屏(上水画卷)
return UIInterfaceOrientationIsLandscape( interfaceOrientation );
竖屏(人物肖像)
return UIInterfaceOrientationIsPortrait( interfaceOrientation );
函数判断都是系统提供,判断函数包含横竖屏时的两种情况。 横屏(上水画卷) return UIInterfaceOrientationIsLandscape( interfaceOrientation ); 竖屏(人物肖像) return UIInterfaceOrientationIsPortrait( interfaceOrientation );
|