iphone - Push-Notification -
I used the link to the server
I used PushMeBaby server and my certificate And pushing the app with the provision profile, it reported on the device as a warning and printed the printment on the console written in the method only for the first time when I applied for the first time, but the application for multiple times the application for testing While running it only gives tool token, the following The executed method does not execute all. Please help me solve this problem.
- (zero) Application: (UIApplication *) application did the receivermo notification: (NSDictionary *) userInfo {for (ID key in user's information) {NSLog (@ ???? key :% @, Value:% @ one, key, [userInfo objectForKey: key]); UIAlertView * Warning = [[UIAlertView alloc] initWithTitle: @ A ???? Warning message: Key Rep: Automatically cancelTuttonite: @One ???? Okay ???? OtherButtonTitles: zero]; [Alerts show]; / * If (key) {UIAlertView * alert = [[UIAlertView alloc] initWithTitle: @A "alert" ???? Message: @ single ???? It is in the application ???? Representative: Self cancelTuttonite: @ single ???? Okay ???? OtherButtonTitles: zero]; [Alerts show]; } * /}} Please help me as soon as possible
You need to get a token every time you start the application. Sometimes it changes.
Comments
Post a Comment