I'm trying to open the podcast app with a url like this
- (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
However it looks like the pcast scheme is no longer supported? How can I open my own XML feed in the podcast app?
As per Swift 4,
We should use the below url schemes
to open podcasts app from our app.
Podcasts (Add Feed By URL)
— podcast://
(you can also add a feed URL after to auto-populate it)
Podcasts (Browse)
— pcast://
or itms-pcast://
or itms-pcasts://
or podcasts://
or itms-podcast://
or itms-podcasts://
(displays a "can't connect" error)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With