微信分享开发

接入SDK#

pod 'WechatOpenSDK'

(注意:导入sdk后,还需要自己做桥接,非常奇葩)

项目名-Bridging-Header.h

//微信SDK
#import "WXApi.h"
#import "WXApiObject.h"

//支付宝SDK
#import 

微信开发者#

获取##

AppID: wx09f0f0000000000
AppSecret: fde02caebd411e51147c0000000000
Universal Links:https://www.xxxx.cn/app/

服务器配置文件##

制作一个配置文件放在自己的服务器
https://www.xxxxxx.cn/apple-app-site-association
App ID和Bundle ID。要用"."分开,paths 写入目录

{
  "applinks": {
    "apps": [],
    "details": [
    {
      "appID": "App ID Prefix.Bundle ID",
      "paths": ["/app/*"]
    }
    ]
  }
}

苹果还有个地址给你测试
https://search.developer.apple.com/appsearch-validation-tool/

app配置##

关联域名有三种服务 这里很重要
https://blog.csdn.net/SquirrelPineal/article/details/106616062
https://blog.csdn.net/qq_34469600/article/details/121955244

你可能感兴趣的:(微信分享开发)