We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d80dcbd commit 26d5b02Copy full SHA for 26d5b02
1 file changed
example/document/iOS.md
@@ -89,7 +89,7 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
89
}
90
````
91
92
-4、为了在收到推送点击进入应用能够获取该条推送内容需要在 AppDelegate.m didReceiveRemoteNotification 方法里面添加 [[NSNotificationCenter defaultCenter] postNotificationName:kJPFDidReceiveRemoteNotification object:userInfo] 方法,注意:这里需要在两个方法里面加一个是iOS7以前的一个是iOS7即以后的,如果AppDelegate.m 没有这个两个方法则直接复制这两个方法,如下所示:
+4、为了在收到推送点击进入应用能够获取该条推送内容需要在 AppDelegate.m didReceiveRemoteNotification 方法里面添加 [[NSNotificationCenter defaultCenter] postNotificationName:GT_DID_RECEIVE_REMOTE_NOTIFICATION object:userInfo] 方法,注意:这里需要在两个方法里面加一个是iOS7以前的一个是iOS7即以后的,如果AppDelegate.m 没有这个两个方法则直接复制这两个方法,如下所示:
93
94
95
#pragma mark - APP运行中接收到通知(推送)处理 - iOS 10以下版本收到推送
0 commit comments