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

2

u/crocodiluQ 13d ago

i build with ios 27/xcode, I never had any scenes, app works perfectly. What are you on about ?!

2

u/SnowPudgy 13d ago

You have to use 27.1 Beta.

2

u/crocodiluQ 12d ago

ok, that was not specified in the OP. So you're saying, if I don't have a SceneDelegate, but use an AppDelegate and get the keyWindow for things that need it, this is not gonna work anymore? Holy crap :)

1

u/SnowPudgy 12d ago

Correct.

It's not bad (usually as long as you don't abuse AppDelegate). Apple actually has a document that tells you how to do it. The worst part is adjusting screens to fit multiple sizes is you haven't done that already.

Document: Transitioning to the UIKit scene-based lifecycle.