Post

Replies

Boosts

Views

Activity

Reply to Transparent Navigation bar in Xcode 13
On your App Delegate you can set the new navigationBarAppearance. On scroll the navigation bar won't be transparent. navigationBarAppearance.configureWithTransparentBackground() navigationBarAppearance.titleTextAttributes = [.foregroundColor: UIColor.white] navigationBarAppearance.backgroundColor = UIColor(named: "AccentColor") UINavigationBar.appearance().standardAppearance = navigationBarAppearance UINavigationBar.appearance().compactAppearance = navigationBarAppearance UINavigationBar.appearance().scrollEdgeAppearance = navigationBarAppearance
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’21
Reply to Transparent Navigation bar in Xcode 13
On your App Delegate you can set the new navigationBarAppearance. On scroll the navigation bar won't be transparent. navigationBarAppearance.configureWithTransparentBackground() navigationBarAppearance.titleTextAttributes = [.foregroundColor: UIColor.white] navigationBarAppearance.backgroundColor = UIColor(named: "AccentColor") UINavigationBar.appearance().standardAppearance = navigationBarAppearance UINavigationBar.appearance().compactAppearance = navigationBarAppearance UINavigationBar.appearance().scrollEdgeAppearance = navigationBarAppearance
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21