iOS13问题适配记录
2019-11-06 本文已影响0人
Look2021
https://mp.weixin.qq.com/s/cltsFffNGIRe0u4-iJ5yVQ
PresentViewController
let mainViewController = UIView() // 即需要被present的view
mainViewController.modalPresentationStyle = .fullScreen
self.present(mainViewController, animated: true, completion: nil)
- (UIModalPresentationStyle)modalPresentationStyle {
return UIModalPresentationFullScreen;
}