Search code examples
iosswift

How to remove Scene Delegate from iOS Application?


I have created the iOS Project in Xcode 11.1. I need to remove scene delegate from the application.


Solution

  • You need to do the following steps:

    1. Remove Scene delegate methods from App Delegate and delete the Scene delegate file.
    2. You need to remove UIApplicationSceneManifest from Info.plist.

    You also need to add var window:UIWindow? if it is not present in AppDelegate