Skip to content

Commit 35d0b9d

Browse files
Merge pull request #511 from jpush/dev
udpate docs
2 parents d55a210 + c81c883 commit 35d0b9d

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

documents/api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ JPushModule.stopPush();
7474
// iOS - javascirpt
7575
JPushModule.resumePush();
7676
```
77-
77+
7878
#### setAlias
7979

8080
* setAlias(alias, successCallback)
@@ -199,7 +199,7 @@ JPushModule.clearNotificationById(id);
199199

200200
#### 点击推送事件
201201

202-
**NOTE**: iOS 需要安装到 [email protected]+ 。
202+
**NOTE**: iOS 需要安装到 [email protected]+ 。参数 function 不能复用,不能用于其他 add****Listener 的方法。
203203

204204
* addReceiveOpenNotificationListener(function)
205205

@@ -216,7 +216,7 @@ JPushModule.clearNotificationById(id);
216216

217217
#### 接收推送事件
218218

219-
**NOTE**: iOS 需要安装到 [email protected]+ 。
219+
**NOTE**: iOS 需要安装到 [email protected]+ 。参数 function 不能复用,不能用于其他 add****Listener 的方法。
220220

221221
* addReceiveNotificationListener(function)
222222

@@ -235,7 +235,7 @@ JPushModule.clearNotificationById(id);
235235

236236
#### 接收自定义消息事件
237237

238-
**NOTE**: iOS 需要安装到 [email protected]+ 。
238+
**NOTE**: iOS 需要安装到 [email protected]+ 。参数 function 不能复用,不能用于其他 add****Listener 的方法。
239239

240240
* addReceiveCustomMsgListener(function)
241241

example/ios/PushDemo/Images.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
22
"images" : [
3+
{
4+
"idiom" : "iphone",
5+
"size" : "20x20",
6+
"scale" : "2x"
7+
},
8+
{
9+
"idiom" : "iphone",
10+
"size" : "20x20",
11+
"scale" : "3x"
12+
},
313
{
414
"idiom" : "iphone",
515
"size" : "29x29",
@@ -29,6 +39,11 @@
2939
"idiom" : "iphone",
3040
"size" : "60x60",
3141
"scale" : "3x"
42+
},
43+
{
44+
"idiom" : "ios-marketing",
45+
"size" : "1024x1024",
46+
"scale" : "1x"
3247
}
3348
],
3449
"info" : {

0 commit comments

Comments
 (0)