Closed shengdoushi closed 4 years ago
func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
guard let url = URLContexts.first?.url else {
return
}
_ = MonkeyKing.handleOpenURL(url)
}
这样试试可以吗?
嗯 这样是可以的
测试: pre-1.17.0, 使用微信登录,没有设置 universal link , 点击微信登录后回调的是 SceneDelegate的openURLContexts 方法