在您的应用程序代表中。只需转到函数:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
{
if #available(iOS 13.0, *) {
window?.overrideUserInterfaceStyle = .light
}
return true
}
有什么建议么....