0
不知如何看待即使该器件的电流方向已被锁定(双击home键的同时按灰色方向锁定图标)怎么做定向检测,即使设备已锁定方向
但是方向变化,我已经看过视频拍摄应用(UIImagePickerController
),可以感知方向变化并改变其控制方向。
我知道检测的变化,我可以使用:
- shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
- UIDeviceOrientationDidChangeNotification
但如果设备的方向被锁定既不这些方法的工作。
的可能重复[检测iOS设备方向锁定(http://stackoverflow.com/questions/5410763/detect-ios-device-orientation -lock) – rishi