简体   繁体   中英

Silent push is not working when app is killed from app switcher in ios7

I am trying to send my updated location to a server whenever I receive a push notification.

I am able to receive a push notification when I killed my app from switcher but my

application:didReceiveRemoteNotification:fetchCompletionHandler 

delegate method is not called.

I have spent five days resolving this issue without success. Please, if anybody has any idea about this that would be appreciated.

Thanks in advance!!

Since ios7 apps which are killed from switcher do not receive push notifications. Documentation isn't clear about this, but apple support confirmed this. You can see the answer from apple support here: https://devforums.apple.com/message/925788#925788

another reference: https://devforums.apple.com/message/873265#873265

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM