1) edit the Info.plist file.
View the status bar status based on the No controller (type Boolean).
2) Edit the AppDelegate file.
In the application (_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) Write this code.
UIApplication.shared.statusBarStyle = .lightContent
http://www.problemstucks.com/iOS-interview-part-7.html
source
share