I have two Scenes in a Storyboard; a dark one and a light one.
Set to Default
in the Simulated metrics' Status Bar section, the light scene's bar is dark and works correctly. The dark scene's is set the same way to Light Content
style but it doesn't change.
No mention of the bar anywhere in the code itself, what's wrong?
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
The simulated metrics is only for XCode. You need to set this for the view in the views viewcontroller.
UIViewController:preferredStatusBarStyle
StackoverFlow question covering the same