草庐IT

AVCaptureVideoOrientationLandscap

全部标签

ios - 横向但纵向框架值?

我正在使用最新的SDK开发iOS应用程序。我已将横向右方向设置为可用的唯一方向,我对viewControllerView有疑问。这是我的代码:-(void)viewDidLoad{[superviewDidLoad];[[NSNotificationCenterdefaultCenter]addObserver:selfselector:@selector(deviceOrientationDidChange:)name:UIDeviceOrientationDidChangeNotificationobject:nil];[[UIDevicecurrentDevice]beginGe