I thing using the associated SceneDelegate life cycle methods. for example
**func sceneWillEnterForeground(_ scene: UIScene) **,
**func sceneDidBecomeActive(_ scene: UIScene) ** and others
Topic:
Programming Languages
SubTopic:
Swift
Tags: