ScenePhase starts in .background state in iOS 27

Prior to iOS 27, when launching an app, the ScenePhase (read from the environment) would start as .inactive and then transition to .active. In iOS 27 this appears to have changed. The app launches with the .background phase, which then transitions to .inactive, and then finally to .active.

Is this a bug in iOS 27.0 (perhaps related to https://developer.apple.com/forums/thread/841032)? Or is this now the intended lifecycle going forward?

This API change is causing problems for us because we have code that is only supposed to run on app backgrounding, but that code is now also running on first launch.