I am looking for a way to open an apple watch app from another apple watch app. I have found answers for iOS apps. I am looking for something similar to this answer, but for watchOS instead of iOS.
I have tried to duplicate the iOS answer for watchOS but had no luck. The code I used is:
func openApp() {
let url = URL(string:"App Name")
WKExtension.shared().openSystemURL(url!)
}
I was hoping this would open the app, however, nothing happened when the function was called.