0
我创建了一个UISplitView,在splitView以横向模式加载后,我使用presentModalView显示一个模态视图,我的问题是模态视图始终处于纵向模式,找不到解决方案。Ipad ModalView旋转问题
UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation];
它给我的横向方向,但使用
UIDeviceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation]
给我画像。 (4.2下不工作)
感谢,