UINavigationBarAppearance problem in iOS12, XCode13

app crash with below reason.

Could not instantiate class named UINavigationBarAppearance because no class named UINavigationBarAppearance was found; the class needs to be defined in source code or linked in from a library 

Answered by Frameworks Engineer in 689411022

UINavigationBarAppearance was introduced in iOS 13, you will need to conditionally use the API if you plan to support iOS 12.

Do you use UINavigationBarAppearance explicitly in your app? Or is it used implicitly somewhere else? Can you show more info such as all the message in the debug console or the stack traces?

UINavigationBarAppearance was introduced in iOS 13, you will need to conditionally use the API if you plan to support iOS 12.

Accepted Answer

it was beacause.. I checked on storybaord Navigation Bar Apearances : Standard.

after uncheck on storyboard, class not found issue is sovled on iOS12 devices.

UINavigationBarAppearance problem in iOS12, XCode13
 
 
Q