开发者

Question related to APNS

Whenever I get a pop-up through the iPhone OS for APNS testing there are 2 conditions:

  1. application 开发者_运维百科is running
  2. application is not running

If I click on the view button of the popup through the iPhone OS then which method is called if application is running?

If application is not running?


Either way, it launches the application so you need to implement 'applicationDidFinishLaunching:' in your application delegate.

If your app is running and you receive a notification, then you need to implement 'application:didReceiveRemoteNotification'.

Read "Handling Remote Notifications" for more information.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜