Use opaque background for UINavigationController appearance extension

This commit is contained in:
Angelo Stavrow 2020-10-01 14:58:10 -04:00
parent 0a68aad66b
commit 0ce31b0b60
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE
2 changed files with 3 additions and 4 deletions

View File

@ -7,12 +7,12 @@
<key>WriteFreely-MultiPlatform (iOS).xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
<key>WriteFreely-MultiPlatform (macOS).xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>

View File

@ -5,8 +5,7 @@ extension UINavigationController {
super.viewDidLoad()
let standardAppearance = UINavigationBarAppearance()
standardAppearance.configureWithTransparentBackground()
standardAppearance.configureWithOpaqueBackground()
navigationBar.standardAppearance = standardAppearance
}
}