【发布时间】:2019-06-17 07:51:36
【问题描述】:
如何根据这个重写代码sn-p; 'statusBarStyle' 的设置器在 iOS 9.0 中已弃用:使用 -[UIViewController preferredStatusBarStyle]
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions:
[UIApplicationLaunchOptionsKey: Any]?) -> Bool {
FirebaseApp.configure()
UIApplication.shared.statusBarStyle = .lightContent
return true
}
【问题讨论】:
标签: swift