Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capacitor ios微信分享失败 #594

Open
zxcfdxc opened this issue Nov 5, 2020 · 2 comments
Open

capacitor ios微信分享失败 #594

zxcfdxc opened this issue Nov 5, 2020 · 2 comments

Comments

@zxcfdxc
Copy link

zxcfdxc commented Nov 5, 2020

xcode报错:UI API called from background thread: -[UIApplication canOpenURL:] must be used from main thread only

@zxcfdxc
Copy link
Author

zxcfdxc commented Nov 5, 2020

xcode报错:UI API called from background thread: -[UIApplication canOpenURL:] must be used from main thread only

怎么解决啊

@snowdream
Copy link

在后台现成调用了 UI API,请在主线程调用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants