today i met with issue on Xcode 12. When i tried iOS 15 version of app i noticed that tabbar background changed. I solved this by adding this line of code
if (@available(iOS 15.0, *)) {
[[UITabBar appearance] setScrollEdgeAppearance:tabBarAppearance.appearance];
}
But after I swapped back to Xcode 12 from Xcode 13 i got this issue.
No visible @interface for 'UITabBar' declares the selector 'setScrollEdgeAppearance:'
Seems like Xcode12 bug for me but maybe i am wrong.
Edit: added if statement which was in code