Answer the question
In order to leave comments, you need to log in
How to change background color of statusBar?
How to change background color of statusBar? I tried through the view, it does not work
let statusBarView: UIView = UIView(frame: CGRectMake(0.0, 0.0, UIScreen.mainScreen().bounds.width, 20.0))
statusBarView.backgroundColor = UIColor.yellowColor()
view.addSubview(statusBarView)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question