[英]Layout issue with iOS 13 and Xcode 11
Apple 推出了一种新的默认卡片展示方式。 为了强制全屏,您必须明确指定它:
let controller = UIViewController()
controller.modalPresentationStyle = .fullScreen //or .overFullScreen for transparency
self.present(controller, animated: true, completion: nil)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.