I would like to redirect to the app-store to a specific app, using its ID upon receiving a button tap. I have tried all the answers here on stack overview however none worked for me, they are most likely outdated such as these: Open AppStore through button, Launching App Store from App in Swift, How to link to apps on the app store
I tried the following URLs, however I get false via UIApplication.shared.canOpenURL(:_)
:
"itms-apps://apple.com/app/{appId}"
"itms-apps://itunes.apple.com/developer/{appId}"
"itms-apps://apps.apple.com/cz/app/{developer}/{appId}"
How to currently go about redirecting to App-Store? Can this still be done via URL, or do we have to use the StoreKit exclusively?
Thanks in advance