我知道您无法打开自己的应用程序(如果尚未打开),但是可以通过Apple Watch应用程序的链接在手机上打开默认的Apple应用程序吗?
You can open Safari using UIApplication.shared.open(URL(string:"yourCustomLink")!, options: [:], completionHandler: nil)
I don't know much about watch app but I am sure that you can make communication between your iPhone and Watch using WatchConnectivity
. Send the link from the watch to ur iPhone. Open link using the code snippet. Voilà.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.