开发者

Url doesnot opens on iPad

开发者 https://www.devze.com 2023-01-24 16:44 出处:网络
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

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

精彩评论

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