0
我需要获取设备方向,但可能是因为我正在开发的应用程序只支持纵向方向,它似乎永远不会改变。我试过[AVCaptureConnection videoOrientation]
,[[UIDevice currentDevice] orientation]
和[[UIApplication sharedApplication] statusBarOrientation]
,无济于事。方向总是说“肖像”。AVCaptureVideoOrientation永远不会改变
有没有办法获得真实的方向?