30
iOS8에서 Swift를 사용하여 특정 ViewController의 상태 표시 줄 색상 변경
override func preferredStatusBarStyle() -> UIStatusBarStyle { return UIStatusBarStyle.LightContent; } 특정 ViewController에 대해 ViewBar에서 위의 코드를 사용하여 statusBar 색상을 White로 설정하면 iOS8에서 작동하지 않습니다 . 어떤 제안? UIApplication.sharedApplication 메소드를 사용하면 전체 앱의 Info.plist에서 필요한 변경 후 색상이 변경됩니다. // Change the colour of status bar from black to white UIApplication.sharedApplication().statusBarStyle = …