App Store Links... within an app

Discussion in 'Public Game Developers Forum' started by RockRidgeGames, Sep 17, 2009.

  1. Is there an easy way to add links to the App Store within an app or game that launches the App Store on the iPhone? We'd like to put some cross-promotion within our next round of game updates, but are looking for an easy solution to do so.

    Thanks!
     
  2. xother

    xother Active Member

    Aug 18, 2009
    26
    0
    0
    I think that's just opening the direct url to your game in itunes. Like

    Code:
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://linktoitunes"]];
    Note though that your app will be closed when the user opens the link.
     
  3. Bomberry

    Bomberry Member

    Sep 12, 2009
    11
    0
    0
    Palo Alto, CA
    That's a good suggestions, but not the best solution...

    If you are going to be adding links to your game and it's going to quit the game and open the App Store app then you might want to alert your user. We have an application framework we developed and when we are going to follow an external link we have a class that plays a sound. pops open an Alert Box with a message asking for confirmation.

    Okaying the confirmation quits the game (saving any game state) then opens the app store. You can also set a flag so that when you relaunch the game (can be within a time frame) if goes right back to where you were.

    Remember you want everything to run smoothly in the game - jettisoning them out is not really a smooth transition, but you can lessen the blow. (^_^)

    If you need more help, ping me and I'll see what I can do. You can also check StackOverflow.

    Best,
    Kevin
    Able Pear Software
    http://www.ablepear.com
     

Share This Page