【发布时间】:2013-03-28 10:20:40
【问题描述】:
即使在锁定的 UIView 上,我如何才能找出真正的 iOS 设备方向(不是 UIView 方向)?
【问题讨论】:
标签: objective-c device-orientation
即使在锁定的 UIView 上,我如何才能找出真正的 iOS 设备方向(不是 UIView 方向)?
【问题讨论】:
标签: objective-c device-orientation
它可能会对你有所帮助。
UIDeviceOrientation currentDeviceOrientation = [[UIDevice currentDevice] orientation];
【讨论】: