开发者

How to notify iPhone client that server has new updates?

开发者 https://www.devze.com 2023-03-17 14:01 出处:网络
I am working on this iPhone app that connects to web services and receives data from a server. Whenever server has new updates, I would like iPhone client to show user that there\'s new stuff on serve

I am working on this iPhone app that connects to web services and receives data from a server. Whenever server has new updates, I would like iPhone client to show user that there's new stuff on server, and they can refresh the view.

I know this could be do开发者_C百科ne with push notifications. But would also like this to work out on situation when user turned off push notifications on his iPhone.

Any hints would be greatly appreciated! Thanks! :)


You can only use Push notification for this if you want to inform the user of an update if the app ins't open.

You can of course display a UIAlertview if the app is opened, or just update the view with a nice animation.

0

精彩评论

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