Opening the Apple TV App Store

前端 未结 7 1121
南旧
南旧 2020-12-13 22:06

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 p

7条回答
  •  北海茫月
    2020-12-13 22:40

    Yes, it works ! Just use the link provided by Apple's link maker. For example:

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://geo.itunes.apple.com/fr/app/math-champions-jeux-calcul/id561572290?mt=8"]]
    

    Do not modify the link by removing the language or the name of the app like you can on iOS.

提交回复
热议问题