I have been trying to access the below code and I got this error I didn't find any solution.
let appearance = UINavigationBarAppearance()
Use of unresolved identifier 'UINavigationBarAppearance'; did you mean 'UINavigationBarDelegate'?
I have been trying to access the below code and I got this error I didn't find any solution.
let appearance = UINavigationBarAppearance()
Use of unresolved identifier 'UINavigationBarAppearance'; did you mean 'UINavigationBarDelegate'?
As commented by @rmaddy UINavigationBarAppearance
is available for iOS 13.0+ as per the Apple's documentation. Refer to UINavigationBarAppearance.