开发者

Url doesnot opens on iPad

I have strange problem. Basically I have a Universal app that opens a link that takes to my other apps in the app store.The code I am using is

NSString *iTunesLink = @"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=somenumber&mt=8";
[[UIApplicatio开发者_开发百科n sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];

This works perfectly on iPhone, However on iPad it says "Request could not be completed".


It won't open because the link is pointing to an iPhone/iPod app on the App Store, therfore it cannot be installed on the iPad.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜