Open3

UISceneDelegate

ykwsykws

NotificationCenter の課題をレビューしているときに次の API を確認していると、気になる記述があった。

https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623076-applicationwillenterforeground

If you're using scenes (see Scenes), UIKit will not call this method. Use sceneWillEnterForeground(_:) instead to prepare your app to enter the foreground. UIKit posts a willEnterForegroundNotification regardless of whether your app uses Scenes.