Skip to content

Commit

Permalink
fix image error~
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonz1987 committed Aug 29, 2024
1 parent cb0ec79 commit 936af5d
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions docs/zh/guide/capacitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,16 @@ const config: CapacitorConfig = {
../../capacitor-cordova-ios-plugins/sources/CordovaPluginWechat/Wechat-Bridging-Header.h
```



![img](../../../cordova-plugin-wechat-doc-old/docs/images/xcode3.png)

![img](../../../cordova-plugin-wechat-doc-old/docs/images/xcode-2.png)


4、修改AppDelegate.swift

添加如下代码:

```swift
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {

// 添加微信插件回调
WechatAttribution.shared().continue(userActivity)
return ApplicationDelegateProxy.shared.application(application, continue: userActivity, restorationHandler: restorationHandler)
}
WechatAttribution.shared().continue(userActivity)
```


![img](../../../cordova-plugin-wechat-doc-old/docs/images/xcode-3.png)

0 comments on commit 936af5d

Please sign in to comment.