iphone - How can I link to my app in the App Store (iTunes)? -


I have a feature in my app, where a user can send an email to the friend with the iTunes URL in their app. How is this possible?

Thank you.

Instead of the long and confusing URL that you usually see, you can create app store links that Very simple and more logical is the hidden URL format in the iTunes Store which is more logical

  • Artist's name or app store developer's name:
  • Album name:
  • Movies:
  • TV:
  • Just include in the URL of this format.

    (Note that spaces may cause problems, but I came to know that except for them it was completely worked for me - an apple called "Fruit Groove" was redirected.)

    (Also note that if this does not work for you, then iTunes is the link maker)

    Your code will be something like this (I have been removed, anonymous and not tested Is)

      NSString * body = [NSString stringWithFormat: @ "Receive my app here Do -% @. \ N ", myUrl]; #if __IPHONE_OS_VERSION_MIN_REQUIRED & lt; = __IPHONE_2_2 [NSThread sleepForTimeInterval: 1.0]; NSString * crlfBody = [Body string Bayrplesing Okrirensesofstringः @ "\ n" string: @ "\ r \ n"]; NSString * escapedBody = [(NSString *) CFURLCreateStringByAddingPercentEscapes (kCFAllocatorDefault, (CFStringRef) crlfBody, zero, CFSTR ( "= & amp ;? +"), KCFStringEncodingUTF8) autorelease]; NSString * mailtoPrefix = [@ "mailto: xxx@wibble.com topic = go to my app & body =?" StringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]; / / In the end, turned out to be completely escaped URL string NSString * mailtoStr = [Meltoprfiks Stringbafinging String Escape] combine to make; // Open the URL apps merge [[UIApplication shared application] Opanrl [Ansdbluar URL with strings: Meltostiar]]; #endif  

    You can improve things in iPhone 3.0, but I can not talk about them right now.


    Comments

    Popular posts from this blog

    python - Overriding the save method in Django ModelForm -

    html - CSS autoheight, but fit content to height of div -

    qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -