• <small id='GyZP1'></small><noframes id='GyZP1'>

    <tfoot id='GyZP1'></tfoot>
  • <i id='GyZP1'><tr id='GyZP1'><dt id='GyZP1'><q id='GyZP1'><span id='GyZP1'><b id='GyZP1'><form id='GyZP1'><ins id='GyZP1'></ins><ul id='GyZP1'></ul><sub id='GyZP1'></sub></form><legend id='GyZP1'></legend><bdo id='GyZP1'><pre id='GyZP1'><center id='GyZP1'></center></pre></bdo></b><th id='GyZP1'></th></span></q></dt></tr></i><div id='GyZP1'><tfoot id='GyZP1'></tfoot><dl id='GyZP1'><fieldset id='GyZP1'></fieldset></dl></div>

      <legend id='GyZP1'><style id='GyZP1'><dir id='GyZP1'><q id='GyZP1'></q></dir></style></legend>
        <bdo id='GyZP1'></bdo><ul id='GyZP1'></ul>

        在 iphone 中解析推送通知

        Parse push notification in iphone(在 iphone 中解析推送通知)
          1. <i id='jUrHP'><tr id='jUrHP'><dt id='jUrHP'><q id='jUrHP'><span id='jUrHP'><b id='jUrHP'><form id='jUrHP'><ins id='jUrHP'></ins><ul id='jUrHP'></ul><sub id='jUrHP'></sub></form><legend id='jUrHP'></legend><bdo id='jUrHP'><pre id='jUrHP'><center id='jUrHP'></center></pre></bdo></b><th id='jUrHP'></th></span></q></dt></tr></i><div id='jUrHP'><tfoot id='jUrHP'></tfoot><dl id='jUrHP'><fieldset id='jUrHP'></fieldset></dl></div>
          2. <tfoot id='jUrHP'></tfoot>
            <legend id='jUrHP'><style id='jUrHP'><dir id='jUrHP'><q id='jUrHP'></q></dir></style></legend>
            • <bdo id='jUrHP'></bdo><ul id='jUrHP'></ul>

                <small id='jUrHP'></small><noframes id='jUrHP'>

                  <tbody id='jUrHP'></tbody>

                • 本文介绍了在 iphone 中解析推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  Integrated parse push notification in iOS project. Not working.

                  Here is my code:

                  #ifdef ENABLE_PARSE_PUSH
                  #import "Parse/Parse.h"
                  #endif
                  
                  //in appDelegate didFinishLaunchingWithOptions
                  
                  #ifdef ENABLE_PARSE_PUSH
                  
                      // Obtain the installation object for the current device
                  
                      [Parse setApplicationId:PARSE_APP_ID clientKey:PARSE_APP_SIGNATURE];
                  
                      PFInstallation *myInstallation = [PFInstallation currentInstallation];
                  
                      // Save some data
                      [myInstallation setObject:@"YES" forKey:@"scoreUpdates"];
                  
                      // Save or Create installation object
                      [myInstallation saveInBackground];
                  
                      [application registerForRemoteNotificationTypes:
                       UIRemoteNotificationTypeBadge |
                       UIRemoteNotificationTypeAlert |
                       UIRemoteNotificationTypeSound];
                  #endif
                  
                  
                  
                  #ifdef ENABLE_PARSE_PUSH
                  - (void)application:(UIApplication *)application
                  didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)newDeviceToken
                  {
                      [PFPush storeDeviceToken:newDeviceToken]; // Send parse the device token
                      // Subscribe this user to the broadcast channel, ""
                      [PFPush subscribeToChannelInBackground:@"" block:^(BOOL succeeded, NSError *error) {
                          if (succeeded)
                          {
                              //#ifdef DEBUG
                              //NSLog(@"Successfully subscribed to the broadcast channel.");
                              //#endif
                          }
                          else
                          {
                              //#ifdef DEBUG
                              //NSLog(@"Failed to subscribe to the broadcast channel.");
                              //#endif
                          }
                      }];
                  }
                  
                  - (void)application:(UIApplication *)application
                  didReceiveRemoteNotification:(NSDictionary *)userInfo {
                      [PFPush handlePush:userInfo];
                  }
                  
                  #endif
                  

                  here is one similar post not helped for me..tried all suggested solutions. What's wrong..already uploaded development push SSL in parse.com. help me to get solution.

                  Now test push message from parse.com is not delivering in device.

                  解决方案

                  Ok Finally resolved this problem.

                  We need to create new provisioning profile after configuring push SLL in app id section. Then we need to use new provisioning profile.

                  This solved my problem and now getting test push message from Parse.

                  这篇关于在 iphone 中解析推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)
                  Cocos2d - How to check for Intersection between objects in different layers(Cocos2d - 如何检查不同层中对象之间的交集)
                  Resume game cocos2d(恢复游戏 cocos2d)
                  Highlight Read-Along Text (in a storybook type app for iPhone)(突出显示朗读文本(在 iPhone 的故事书类型应用程序中))
                  Cocos2D + Disabling only Retina iPad Graphics(Cocos2D + 仅禁用 Retina iPad 图形)
                  Proper cocos2d scene restart?(正确的 cocos2d 场景重启?)
                      <bdo id='zQSAD'></bdo><ul id='zQSAD'></ul>

                      • <legend id='zQSAD'><style id='zQSAD'><dir id='zQSAD'><q id='zQSAD'></q></dir></style></legend>

                        1. <tfoot id='zQSAD'></tfoot>
                            <tbody id='zQSAD'></tbody>

                          <small id='zQSAD'></small><noframes id='zQSAD'>

                            <i id='zQSAD'><tr id='zQSAD'><dt id='zQSAD'><q id='zQSAD'><span id='zQSAD'><b id='zQSAD'><form id='zQSAD'><ins id='zQSAD'></ins><ul id='zQSAD'></ul><sub id='zQSAD'></sub></form><legend id='zQSAD'></legend><bdo id='zQSAD'><pre id='zQSAD'><center id='zQSAD'></center></pre></bdo></b><th id='zQSAD'></th></span></q></dt></tr></i><div id='zQSAD'><tfoot id='zQSAD'></tfoot><dl id='zQSAD'><fieldset id='zQSAD'></fieldset></dl></div>