开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜