문제

I want to show iPod as a shortcut in my app, to convenient users, they can click it to invoke real iPod app. How can I do it? Any code I can take reference? Thank you.

도움이 되었습니까?

해결책

In iOS 5 you can call:

if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"music://"]]){     
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"music://"]];
    }
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top