Opt-out Dark Mode on iOS 13

Yoel Lev
1 min readSep 16, 2019

--

The code below will opt out a specific view controller:

override func viewDidLoad() {
super.viewDidLoad()
// Always adopt a light interface style.
verrideUserInterfaceStyle = .light
}

Or you can opt out your entire app with the following key in your info.plist file: UIUserInterfaceStyle And assign it a value of Light.

--

--

Yoel Lev

Senior iOS Developer @ TinyTap, Creator of Wavez. #wavez_app