Implementing push notification without prompt message in iphone
Is 开发者_运维问答it possible to invoke an application without prompt message . I have created a sample application and it need to send request on server after every 15 min and save response. Is it possible to implement this in iphone. If possible, which way shall i do that... please help
Thanks in advance..............
If you are using UILocalNotification
let the alertBody
property empty (it is nil by default) and there will be no alert. More Information here...
If you are using remote push notifications (APNS) you should not include a alert key-value in the notification payload and there will be no alert. More Information here...
But you should consider that using UILocalNotification is device intern only and using APNS is server to device only. Maybe think of using Executing Code in the Background.
精彩评论