Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的应用程序中显示 iPod 作为快捷方式,方便用户点击它来调用真正的 iPod 应用程序。我该怎么做?我可以参考任何代码吗?谢谢你。
在 iOS 5 中,您可以调用:
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"music://"]]){ [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"music://"]]; }