How to push data to an iphone app?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-07 13:41:38

问题


I'm new to iphone app development and I'm having trouble figuring out how to push data to the app. Specifically, I am trying to find a way to push new data (user posts) from the server to the app without the user having to refresh (pull down to refresh). Is is possible?


回答1:


there is a close solution

use Apple Push Notification service : it will allow you to send an alert with a message and a button for the user to open the app if you want, it can also add a numbered badge to the icon of your app (think whatsapp, mail).

here's a link explaining how to use it http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12

That's the closest you can get, you can't do anything with the iphone if the app is not opened by the user



来源:https://stackoverflow.com/questions/7670097/how-to-push-data-to-an-iphone-app

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!