简体   繁体   中英

(Swift) status bar appearance UIImagePickerController

In my app, I present a UIImagePickerController. The problem is that when I present the ImagePickerController the statut bar become black. Do you know how I can fix that (Swift) ? Thanks !

Doesn't adding

UIApplication.sharedApplication().statusBarStyle = .LightContent

this code to your didFinishLaunchingWithOptions function in AppDelagate work?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM