1

I have migrated my App to the SwiftUI App protocol.

I also want to use AppDelegate ans SceneDelegate by adding this code in appdelegate:

 func application( _ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions ) -> UISceneConfiguration { let sceneConfig = UISceneConfiguration(name: nil, sessionRole: connectingSceneSession.role) sceneConfig.delegateClass = FSSceneDelegate.self // 👈🏻 return sceneConfig } 

The problem is that if I update my app, this function is not called. I have to uninstall the app and reinstall it to get this function called.

Is there another way to set the UISceneConfiguration outside this function ?

1 Answer 1

2

Delete the info.plist scene manifest part, except for enable multiple windows.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.