Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- // Vladimir Zhelnov - neatek.pw - Web/iOS dev
- 1. Open plist.info
- Add - "View controller-based status bar appearance"
- Set it to "NO"
- 2. Open AppDelegate.swift
- Add into "*/func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions:/*"
- */
- UIApplication.shared.statusBarStyle = .lightContent
- /* or */
- UIApplication.shared.statusBarStyle = .default
- /* 3. Open your UIView Class or something else
- Add "*/UIApplication.shared.statusBarStyle = .lightContent/*" (or default)
- Into "*/override func viewDidLoad()/*"
- Add "*/
- override func viewWillDisappear(_ animated: Bool) {
- super.viewWillDisappear(animated)
- UIApplication.shared.statusBarStyle = UIStatusBarStyle.lightContent
- }
- /*"
- Done. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement