开发者

how to tell if app was launched from closed or background on iphone?

开发者 https://www.devze.com 2023-03-05 16:36 出处:网络
Hi all is there a specific delegate method which is called when an app is brought to the 开发者_如何学编程foreground from the background on ios? The reason being I want to perform different actions wh

Hi all is there a specific delegate method which is called when an app is brought to the 开发者_如何学编程foreground from the background on ios? The reason being I want to perform different actions when my app is launched and when it is simply resumed from the background?

Many thanks

Jules


When you're coming from the background, applicationWillEnterForeground: is called.

When it starts "from closed", applicationDidFinishLaunching: is called.

0

精彩评论

暂无评论...
验证码 换一张
取 消