When developing iOS apps,Many applications need to set the color of the iOS system status bar according to the current App content color,Black or white-especially on iOS 13 After the system supports the black mode。
Normal,Others will tell you to do this:
1 |
UIApplication.shared.statusBarStyle = .default |
But this triggers a warning:[crayon[……]