To recognize my app entered Background Mode [One short Home-Button click] I use this function:
func applicationDidEnterBackground(_ application: UIApplication) {
//...
}
But how can I recognize my app entered App Switching Mode [Two short Home-Button clicks]? The method applicationDidEnterBackground
is not called in this case.