appstore launch request unable to complete

Posted by Joey on Stack Overflow See other posts from Stack Overflow or by Joey
Published on 2010-12-21T17:50:34Z Indexed on 2010/12/21 17:54 UTC
Read the original article Hit count: 303

Filed under:
|

I am trying to launch an appstore page with either of the calls:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.apple.com/us/app/myappname/id999999999?mt=8"]];

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.itunes.com/apps/myappname"]];

Both of these urls work when I enter them in a browser. However, from both simulator and device, I get a "Your request could not be completed" error dialog right after it appears to try to launch the appstore.

Is there something obvious that I'm doing wrong?

© Stack Overflow or respective owner

Related posts about appstore

Related posts about openurl