我想通过我的应用程序在iPhone上的iTunes上按标题和艺术家搜索歌曲
这就是我想要搜索的内容:
NSString *searchString = [NSString stringWithFormat:@"itms://itunes.com/search?term=%@+%@",[[_songsList objectAtIndex:indexPath.row] objectForKey:@"artist"],[[_songsList objectAtIndex:indexPath.row] objectForKey:@"title"]];
NSString *newString =[searchString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:newString]];
但它不起作用。