Created
October 19, 2017 09:39
-
-
Save flaviodsilverio/e0d65d9c55328fbfd5a17a10a27ac65b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension UIApplication { | |
class var statusBarBackgroundColor: UIColor? { | |
get { | |
return (shared.value(forKey: "statusBar") as? UIView)?.backgroundColor | |
} set { | |
(shared.value(forKey: "statusBar") as? UIView)?.backgroundColor = newValue | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment