'App crashing on initializing UItabbarController for below iOS 13.0 [closed]

I am working on some one else's project and while working I have found an issue. Issue is that app is crashing on below iOS 13.0 for using UITabBarAppearance but when I search for UITabBarAppearance in project it does not show any code containing UITabBarAppearance which means that we have not used any thing regarding tab bar appearance although there is a class for UITabbarController and crash accours while initializing this controller I am posting screen shots of crash detail, where crash is occurring and that class below, I hope that it will be enough to debug the problem

Crash Details enter image description here

Crash Occurence enter image description here

UITabbarController Class enter image description here

TabBar in storyboard enter image description here

TabBar Attribute Inspector

enter image description here



Solution 1:[1]

You were right lazarevzubov, the answer was hidden in the attribute inspector. I just had to uncheck both standard and scroll edge in the Appearance of the attribute inspector and it started working fine. if someone get the same problem for navigation bar the same solution will work for navigation bar too. enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ali Abid