From 7f3682e2a8e81e3aa894d88e52513e9a793f8853 Mon Sep 17 00:00:00 2001 From: Hevin Date: Tue, 27 Jun 2017 10:23:33 +0800 Subject: [PATCH] fix #244 --- doc/iOS_API.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/iOS_API.md b/doc/iOS_API.md index 88b9178..87ce9fa 100644 --- a/doc/iOS_API.md +++ b/doc/iOS_API.md @@ -406,7 +406,7 @@ JPush 封装 badge 功能,允许应用上传 badge 值至 JPush 服务器, ```js window.plugins.jPushPlugin.prototype.setBadge(value) -window.plugins.jPushPlugin.prototype.reSetBadge() +window.plugins.jPushPlugin.prototype.resetBadge() ``` resetBadge 相当于 setBadge(0)。 @@ -423,7 +423,7 @@ value 取值范围:[0,99999]。 ```js window.plugins.jPushPlugin.setBadge(5) -window.plugins.jPushPlugin.reSetBadge() +window.plugins.jPushPlugin.resetBadge() ``` ### API - setApplicationIconBadgeNumber @@ -882,4 +882,3 @@ window.plugins.jPushPlugin.prototype.getUserNotificationSettings(callback) ##### jpush.receiveLocalNotification > [iOS 10 before 收到本地通知](#ios-10-before-收到本地通知) -