Reply to "*** is only available in iOS 15.0 or newer" use this formula in your code @available(iOS 15.0, *) struct MainView15 : View { .... } Community Apple Developers Jun ’21