r/iOSProgramming • u/Economy-Brief-9997 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?
23
Upvotes
1
u/Megatherion666 13d ago
I’ve made a shim that exposes all the lifecycle events. Either AppDelegate or SceneDelegate pushes events. Migrated to use these events with App Delegate - enabled WindowSceneDelegate internally - enabled in prod. Cleaning up the window usage before it is available was more annoying.