Color text of status bar in XCode 6-b3 (Swift)

后端 未结 5 2059
闹比i
闹比i 2021-02-01 06:32

I\'ve try to modify status bar color text but no one answer from this thread doesn\'t work. Any especially for XCode 6?

I\'ve tried insert:

override func         


        
5条回答
  •  醉话见心
    2021-02-01 07:16

    Just set " View controller-based status bar appearance == NO " in to your plist and put a single line in your appdelegate class in didfinshLaunching method.

     UIApplication.sharedApplication().statusBarStyle = .LightContent
    

提交回复
热议问题