UINavigationBar

In this tutorial, you will learn how to customize UINavigationBar appearance programmatically within a UIViewController. You will use the new UINavigationBarAppearance introduced in iOS 15, but I will also provide a fallback for earlier versions. Set the Navigation Bar Background and Title Color For iOS 14 and Earlier Before iOS 15, you would have to…

Read More Customize Navigation Bar Programmatically in Swift

The Swift code example below demonstrates how to customize the UINavigationBar appearance via the AppDelegate.swift file. The blow Swift code example covers: Set UINavigationBar tint color, Set Navigation bar Title color, Set navigation bar ItemButton tint color, Set Navigation bar background image, Set navigation bar Back button tint color. import UIKit @main class AppDelegate: UIResponder, UIApplicationDelegate…

Read More Customize UINavigationBar Appearance Programmatically via AppDelegate