-
Notifications
You must be signed in to change notification settings - Fork 384
Open
Description
The navigation bar in the overlayView is using the global values I set in my AppDelegate, but only in iOS 15. My AppDelegate:
if #available(iOS 13.0, *) {
let ap = UINavigationBarAppearance()
ap.backgroundColor = UIColor.HBlue()
ap.titleTextAttributes = convertToOptionalNSAttributedStringKeyDictionary([NSAttributedString.Key.foregroundColor.rawValue: UIColor.white, NSAttributedString.Key.font.rawValue: Constants.Fonts.NavigationItemTitleFont!])!
UINavigationBar.appearance().scrollEdgeAppearance = ap
UINavigationBar.appearance().standardAppearance = ap
}
UINavigationBar.appearance().isTranslucent = false
I've seen this issue, but it's recommended solution didn't work for me. iOS 15 introduces some different changes to UINavigationBar's appearance and I believe that's causing this issue.
Any workaround for this so that the navigation bar on the photo viewer remains transparent?
Metadata
Metadata
Assignees
Labels
No labels