Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opening the Apple TV App Store

Tags:

tvos

Trying to build a tvOS app and one of the use cases I have is to be able to link off and open another app in the Apple TV App Store directly on a button click. Can someone please share a code snippet to enable this?

like image 949
Prasanna Prasad Avatar asked Oct 16 '15 05:10

Prasanna Prasad


People also ask

Why can't I access the App Store on my Apple TV?

Update your software Update to the latest version of iOS or iPadOS, macOS, tvOS, watchOS, or software for your non-Apple device. Then try to connect again.

Does Apple TV App Have App Store?

Apple TV comes preloaded with a collection of apps on the Home Screen. Use the App Store to browse, purchase, and download additional apps.


1 Answers

I have figured this out by examining the device console output. The trick is to use the com.apple.TVAppStore scheme instead of itms-apps. Example (Swiss App Store):

com.apple.TVAppStore://itunes.apple.com/ch/app/youtube/id544007664?mt=8

In fact, the https scheme is also working, but it's then transformed into com.apple.TVAppStore anyway.

like image 63
kambala Avatar answered Sep 19 '22 12:09

kambala