提交 8dbcce04 authored 作者: lopo's avatar lopo

docs: no longer need to register 'WXApi' in 'AppDelegate' on ios side

上级 60c12ee5
......@@ -8,18 +8,6 @@
- The event type of **Launch-App-From-H5** on Android is `WeChatShowMessageFromWXRequest`
- The event type of **Launch-App-From-H5** on IOS is `WeChatLaunchFromWXRequest`
> ### iOS specific configuration
Please register your WXApi in your `AppDelegate`:
```oc
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
//向微信注册
[[FluwxDelegate defaultManager] registerWxAPI:@"" universalLink:@""];
return YES;
}
```
## Example
```dart
......
......@@ -8,18 +8,6 @@
- 安卓端 **微信唤起App** 的事件类型为 `WeChatShowMessageFromWXRequest`
- IOS端 **微信唤起App** 的事件类型为 `WeChatLaunchFromWXRequest`
> ### iOS 特定配置
请在你的`AppDelegate`中主动注册`WXApi`
```oc
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
//向微信注册
[[FluwxDelegate defaultManager] registerWxAPI:@"" universalLink:@""];
return YES;
}
```
## 示例
```dart
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论