-3

How to change color to emulator components using swift ?

I have this color in my emulator components:

enter image description here

then I want to changue this three components to white color.

pallares
  • 163
  • 3
  • 12
Goyo
  • 105
  • 7
  • 5
    See http://stackoverflow.com/questions/17678881/how-to-change-status-bar-text-color-in-ios-7 – Gary Makin Apr 10 '17 at 06:44
  • Check this as well http://stackoverflow.com/questions/27124214/how-to-change-the-status-bar-color-using-ios-with-swift-on-internet-reachability – Surjeet Apr 10 '17 at 06:48
  • Here is another link that may help you http://stackoverflow.com/questions/18977160/change-status-bar-text-colour-from-white-ios-7-xcode-5 – Sivajee Battina Apr 10 '17 at 06:48

1 Answers1

1

Try this code in Viewcontroller

- (UIStatusBarStyle)preferredStatusBarStyle
 {
    return UIStatusBarStyleLightContent;
 }
Vikash Kumar
  • 1,224
  • 1
  • 10
  • 23