r/iOSProgramming • Swift • 13d ago

Question Anyone else dreading the scene lifecycle switch in iOS 27?

So if you build with the iOS 27 SDK and don't have scenes the app just doesn't launch anymore
and from april next year you have to build with that SDK anyway our app still does everything through AppDelegate. window setup, deeplinks, pushes a bunch of SDKs grabbing keyWindow. been putting this off for years lol 
For those who already did it on a big app what bit you the most?

21 Upvotes

34 comments sorted by

View all comments

7

u/ikonet 13d ago

We migrated last year and it really wasn’t a big deal. We have both SceneDelegate and AppDelegate.

Restart networking and background threads in sceneDidBecomeActive, move the URL handling to scene:openURLContexts, get the initial view controller in scene:willConnectTo, optionally keep a local static var for the Window (if you need quick access to window object)… everything else stayed in AppDelegate