I have watchOS app and I want to give link in app to open App Store app (on watch) to easily update from there.
I have tried below code but its not working.
let urlString = "itms://itunes.apple.com/app/id_YOUR_APP_ID"
if let url = URL(string: urlString) {
WKExtension.shared().openSystemURL(url)
}