HI guys,
Can someone please suggest how to add buy now link to my application?
Thanks a lot!!
A fast, easy to use, free, and community supported 2D game engine
HI guys,
Can someone please suggest how to add buy now link to my application?
Thanks a lot!!
Hi,
You can put a button (menuitem).
Which will call goToAppStore as its callback where:
- (void)goToAppStore {
NSURL * url = [[NSURL alloc] initWithString:@"myfull app url"];
[[UIApplication sharedApplication] openURL:url];
}
where @"myfull app url" will be replaced by your full version link which you will get once your full version will be launched on app store.
-BMR
Thanks a lot!!!
Sorry to bump this topic after a year (!) :)
But I'm trying to do a "More apps" link that will open the App Store on my developer page.
Now, I have managed to do this in this way:
NSURL *url = [[NSURL alloc] initWithString:@"itms://itunes.com/itaialter"];
[[UIApplication sharedApplication] openURL:url];
[url release];
The issue is that it opens iTunes first (on the device), and then redirects to the App Store.
I was able to open the app store directly on an App page, but not an "Artist" page.
I also tried: itms://phobos.apple.com/itaialter
But that doesn't work at all.
Any ideas?
Thanks!
Here is my whole function for when the button is pressed, goes strait to the app store. just change the number between id and the ? with your app id number
- (void)WWButtonTapped:(id)sender {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.apple.com/app/id392462231?mt=8"]];
}unfortunately not, haven't done that, I'm sorry :(
I only have worked with link to another app or direct link to the ratings page to have someone rate it
Okay, I guess that one redirect along the way will have to do for now :)
If anyone is interested, it's the example I gave above in the code-block.
Thanks for the good intention, finder39.
You could try
[NSString stringWithFormat:@"http://itunes.apple.com/us/artist/%@", artistURL];
Right click an app's icon in its product description in iTunes, copy URL, and swap out the application ID with yours. Also see http://www.apple.com/itunes/linkmaker/faq/
You must log in to post.