iOS push services: is an invisible push notification possible?

后端 未结 7 595
梦如初夏
梦如初夏 2021-02-02 12:55

I\'m building a iPhone application which depends data from an online database.

To update the data in the app i could check at a certain time interval if an update is ne

7条回答
  •  不要未来只要你来
    2021-02-02 13:26

    Use the delegate methods applicationDidRecieveRemoteNotification to tell the app to check in with the update service. Or you can have the app poll the update service durin applicationwillEnterForgound of you don't want to set up push notifications.

提交回复
热议问题