ary*_*axt 3 iphone uiinterfaceorientation ios uideviceorientation
UIDeviceOrientation&之间有什么区别UIInterfaceOrientation?
我应该使用哪一个来检测UIView上的旋转?
UIDeviceOrientation为您提供有关物理设备本身的信息,同时UIInterfaceOrientation告诉您它所显示的视图的方向.这些不需要匹配; 当用户使用方向锁定或设备方向正面朝上时.
您可能希望检查UIInterfaceOrientation并启用旋转方法,UIViewController以确定何时已经或应该轮换视图.
| 归档时间: |
|
| 查看次数: |
3552 次 |
| 最近记录: |