0

in your app Delegate. Just go to the func:

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
{
 if #available(iOS 13.0, *) {
        window?.overrideUserInterfaceStyle = .light
    }
     return true
}

Any suggestions....

Sailendra
  • 1,318
  • 14
  • 29

3 Answers3

5

open info.plist as a source code and add this:

<key>UIUserInterfaceStyle</key>
<string>Light</string>
Siddhant Nigam
  • 462
  • 3
  • 13
2

You can do it in the info.plist:

key: UIUserInterfaceStyle

string: Light

hecroge
  • 453
  • 3
  • 13
0

Edit AppDelegate with follwing code.

func application(_application:UIApplication,didFinishLaunchingWithOptions launchOptions[UIApplication.LaunchOptionsKey: Any]?) -> Bool
{
 if #available(iOS 13.0, *) {
        window?.overrideUserInterfaceStyle = .light
    }
     return true
}
ketaki Damale
  • 634
  • 7
  • 25