Comment on UIApplicationDelegateAdaptor won't do anything Thank you very much! You are right. I should have checked the UIApplicationDelegate protocol https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622921-application UI Frameworks SwiftUI Jul ’21