我正在使用新的iOS 13模型当前的vc。在纵向模式下,它可以很好地用作页面工作表。我可以向下滑动。但是在横向模式下,它看起来像全屏。不像页面表。
我正在使用代码显示为页面表:
let vc = UIViewController()
vc.modalPresentationStyle = .pageSheet
self.present(vc, animated: true, completion: nil)
为什么它不能在横向模式下工作。我有什么想念的吗?
我正在使用新的iOS 13模型当前的vc。在纵向模式下,它可以很好地用作页面工作表。我可以向下滑动。但是在横向模式下,它看起来像全屏。不像页面表。
我正在使用代码显示为页面表:
let vc = UIViewController()
vc.modalPresentationStyle = .pageSheet
self.present(vc, animated: true, completion: nil)
为什么它不能在横向模式下工作。我有什么想念的吗?