0
我試圖像這樣推出播客應用有了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方案中的URL打開播客應用不再支持?如何在podcast應用程序中打開我自己的XML Feed?
看看這個http://stackoverflow.com/questions/8201724/how-to-register-a-custom-app-opening-url-scheme-with-xcode-4 – tnylee