iphone - 从 iPhone 应用程序链接到播客的选项有哪些?

标签 iphone ios itunes

使用iTunes Link Maker ,并引用 this answer ,我创建了一个测试应用程序,可以启动 iTunes 应用程序并列出给定播客的剧集:

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

但是还有什么可能呢?

  1. 我可以在我的应用中启动 iTunes 应用来开始下载特定的播客剧集吗?
  2. 我可以在我的应用中启动 iTunes 应用来开始流式传输特定的播客剧集吗?
  3. 我可以从我的应用程序启动 Apple 新的 Podcasts app用户是否已安装?

最佳答案

[3]。是的你可以。只需更改

itms://[url]

对于以下任何形式:

itms-pcast://[url]
itms-pcasts://[url]
itms-podcast://[url]
itms-podcasts://[url]

关于iphone - 从 iPhone 应用程序链接到播客的选项有哪些?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11347172/

相关文章:

itunes - 应用程序加载器 : "Cannot proceed with delivery: an existing transporter instance is currently uploading this package"

iphone - 如何计算 NSString 中大写字符的数量?

iphone - iOS - 管理 IBOutlets 内存的最佳方式是什么?

iphone - 调用 UIViewController 的另一个 View 不起作用

ios - 在 iOS 编程中使用 while(true) 语句是一种有效的方法吗?

c# - 如何删除xamarin形式的操作栏?

iphone - 如何使我的临时 iPhone 应用程序的图标显示在 iTunes 中?

swift - 如何在 macOS 上使用 MLMediaLibrary 和 Swift 访问 iTunes 歌曲的标题?

iphone - 在 UITableView 上方增加 UIView 的高度

iphone - 如何在 iPhone 应用程序中拥有 2 个 leftBarButtonItems,并让 1 个成为默认后退按钮?