Skip to content

Commit 26d5b02

Browse files
author
linwanting
committed
[update]:update iOS readme
1 parent d80dcbd commit 26d5b02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example/document/iOS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
8989
}
9090
````
9191

92-
4、为了在收到推送点击进入应用能够获取该条推送内容需要在 AppDelegate.m didReceiveRemoteNotification 方法里面添加 [[NSNotificationCenter defaultCenter] postNotificationName:kJPFDidReceiveRemoteNotification object:userInfo] 方法,注意:这里需要在两个方法里面加一个是iOS7以前的一个是iOS7即以后的,如果AppDelegate.m 没有这个两个方法则直接复制这两个方法,如下所示:
92+
4、为了在收到推送点击进入应用能够获取该条推送内容需要在 AppDelegate.m didReceiveRemoteNotification 方法里面添加 [[NSNotificationCenter defaultCenter] postNotificationName:GT_DID_RECEIVE_REMOTE_NOTIFICATION object:userInfo] 方法,注意:这里需要在两个方法里面加一个是iOS7以前的一个是iOS7即以后的,如果AppDelegate.m 没有这个两个方法则直接复制这两个方法,如下所示:
9393

9494
````
9595
#pragma mark - APP运行中接收到通知(推送)处理 - iOS 10以下版本收到推送

0 commit comments

Comments
 (0)