2

Using the iTunes Link Maker, and with reference to this answer, I've created a test app that can launch the iTunes app and list the episodes of a given podcast:

NSString *address = @"itms://itunes.apple.com/<country code>/podcast/<podcast name>/id<numeric ID>?uo=4";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:address]];

But what else is possible?

  1. From my app, can I launch the iTunes app to start downloading a particular podcast episode?
  2. From my app, can I launch the iTunes app to start streaming a particular podcast episode?
  3. From my app, can I launch Apple's new Podcasts app if the user has it installed?
4

1 回答 1

2

[3]。是的你可以。只是改变

itms://[url]

对于以下任何一种形式:

itms-pcast://[url]
itms-pcasts://[url]
itms-podcast://[url]
itms-podcasts://[url]
于 2012-07-05T16:34:59.237 回答