Thank's a lot ;), using your idea works perfect
func sceneWillEnterForeground(_ templateApplicationScene: UIScene) { // execute code }
Topic:
Programming Languages
SubTopic:
Swift
Tags: