tags:

views:

48

answers:

0

Hello all, in my iPhone App, I want to link to iTunes Store Content, I use this code (from http://developer.apple.com/iphone/library/qa/qa2008/qa1629.html)

NSString *iTunesLink = @"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewTVSeason?i=327727418&id=327379511&s=143442&uo=4";

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];

but the result always show Pop Up with message "your request could not be completed". If I change the URL with

NSString *iTunesLink = @"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284417350&mt=8";

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];

the result is always success. Do you have any idea to solve this problem?