Warning: Tab Bar Scroll Edge Appearance before iOS 15.0

I get the following 'Attribute Unavailable' warning when I turn on 'Scroll Edge' for a tab bar in the Interface Builder in XCode 13.0.

Tab Bar Scroll Edge Appearance before iOS 15.0

I have my target set to iOS 12.1, and I understand that this option is not available in these past versions.

However all works ok in previous versions of iOS, and the setting gets ignored as you would hope/expect.

What is the recommended way of dealing with warnings like these, considering you can't turn off individual warnings in XIB files?

In my case (Xcode 13.1), setting the Scroll Edge appearance in Storyboard results in crash on iOS 12.4:
Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named UITabBarAppearance because no class named UITabBarAppearance was found

So I'm not sure if the warning can be safely ignored, unless you are sure that this particular Storyboard/XIB will not be loaded on older system version.

Strangely I don't get this error on a physical device running 12.5 or a simulator running 12.4.

However the difference could be that my XIB is a Launch Screen. Maybe missing elements are ignored in a Launch Screen since these have no functionality behind them (i.e. they are display only), whereas it forces a crash on an in-app screen.

Makes me a bit nervous about releasing, but how do we provide the Scroll Edge appearance for iOS 13+ in a launch screen storyboard otherwise, since there is no way to provide this in code?

Warning: Tab Bar Scroll Edge Appearance before iOS 15.0
 
 
Q