开发者

Question related to APNS

开发者 https://www.devze.com 2022-12-14 17:36 出处:网络
Whenever I get a pop-up through the iPhone OS for APNS testing there are 2 conditions: application 开发者_运维百科is running

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

精彩评论

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