How can I launch app store from my application

Posted by Tankista on Stack Overflow See other posts from Stack Overflow or by Tankista
Published on 2010-04-10T19:17:01Z Indexed on 2010/04/10 19:23 UTC
Read the original article Hit count: 381

Filed under:
|
|
|
|

Im trying to implement button which opens app store application from my app. I use this simple line of code, which opens safari but not app store application.

[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://itunes.apple.com/sk/app/tweetie-2/id333903271?mt=8"]];

I dont know whats wrong, is the URL format correct? I was following this document.

All related questions in stackoverflow are outofdate I suppose.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about appstore