For those coming here recently. Scroll down to bottom, I have confirmed the Scene Phase SwiftUI version works. Xcode 13.4, Swift 5.
I did a Switch of the newPhase as i had to address the .inactive as well as the .active. Used break on the other 2 cases, let Xcode populate them on the Fix from error it throws.
Topic:
App & System Services
SubTopic:
Notifications
Tags: