How to post push notifications in APNS and how to show the notifications in iPhone?

橙三吉。 提交于 2019-12-06 10:14:58

this tutorial is useful please see http://mobiforge.com/developing/story/programming-apple-push-notification-services

when you receive push notificaion ,please NSLog userInfo

-(void)application:(UIApplication *)app didReceiveRemoteNotification:(NSDictionary *)userInfo
{
      NsLog("%@",userInfo);
}

push notificaion is come only one time , pop is open for about 10 second(Depend on notifcation type)... if you click then didReceiveRemoteNotification delegte is call , if you can't click any reason you see notificaion by go to setting->notification click...and check

if you want store total push notifaction use the database and store in your database

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