How to notify iPhone client that server has new updates?
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.
精彩评论