我试着用这样的url打开播客应用程序
- (void)setupPodcast
{
NSLog(@"setup podcast");
NSString *str = [NSString stringWithFormat:@"pcast://podcasts.sdxme.org/RSS/default.aspx?ID=%ld", (long)[[NSUserDefaults standardUserDefaults] integerForKey:@"CustomerID"]];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
}
2015-10-18 23:45:11.367 [29302:1691034] LaunchServices: ERROR: There is no registered handler for URL scheme pcast
然而,pcast计划似乎不再受支持了吗?如何在播客应用程序中打开自己的XML提要?
发布于 2015-11-16 07:20:17
我相信苹果改变了他们公认的播客计划,你现在应该使用‘feed://…’。
发布于 2019-02-25 09:13:55
根据Swift 4,
我们应该使用下面的url schemes
打开我们应用程序中的播客应用程序。
Podcasts (Add Feed By URL)
- podcast://
(您也可以在后面添加一个提要URL来自动填充它)Podcasts (Browse)
- pcast://
或itms-pcast://
或itms-pcasts://
或podcasts://
或itms-podcast://
或itms-podcasts://
(显示“无法连接”错误)发布于 2019-06-16 17:39:41
MacOS Majave需要pcast:// IOS播客://
https://stackoverflow.com/questions/33208299
复制相似问题