Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 692 Vote(s) - 3.53 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to link to apps on the app store

#1
I am creating a free version of my iPhone game. I want to have a button inside the free version that takes people to the paid version in the app store. If I use a standard link

[To see links please register here]


the iPhone opens Safari first, and then the app store. I have used other apps that open the app store directly, so I know it is possible.

Any ideas? What is the URL Scheme for the app store?
Reply

#2
Simply change 'itunes' to 'phobos' in the app link.

[To see links please register here]


Now it will open the App Store directly
Reply

#3
If you want to link to a developer's apps and the developer's name has punctuation or spaces (e.g. Development Company, LLC) form your URL like this:

itms-apps://itunes.com/apps/DevelopmentCompanyLLC

Otherwise it returns "This request cannot be processed" on iOS 4.3.3
Reply

#4
This worked for me perfectly using only APP ID:<br>

NSString *urlString = [NSString stringWithFormat:@"http://itunes.apple.com/app/id%@",YOUR_APP_ID];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlString]];

**The number of redirects is ZERO.**
Reply

#5
Apple just announced the appstore.com urls.

[To see links please register here]


>There are three types of App Store Short Links, in two forms, one for iOS apps, another for Mac Apps:
>
>##Company Name##
>
>iOS:

[To see links please register here]

; for example,

[To see links please register here]

>
>Mac:

[To see links please register here]

; for example,

[To see links please register here]

>
>##App Name##
>
>iOS:

[To see links please register here]

; for example,

[To see links please register here]

>
>Mac:

[To see links please register here]

; for example,

[To see links please register here]

>
>##App by Company##
>
>iOS:

[To see links please register here]

; for example,

[To see links please register here]

>
>Mac:

[To see links please register here]

; for example,

[To see links please register here]

>
>Most companies and apps have a canonical App Store Short Link. This canonical URL is created by changing or removing certain characters (many of which are illegal or have special meaning in a URL (for example, "&")).
>
>##To create an App Store Short Link, apply the following rules to your company or app name:##
>
>Remove all whitespace
>
>Convert all characters to lower-case
>
>Remove all copyright (©), trademark (™) and registered mark (®) symbols
>
>Replace ampersands ("&") with "and"
>
>Remove most punctuation (See Listing 2 for the set)
>
>Replace accented and other "decorated" characters (ü, å, etc.) with their elemental character (u, a, etc.)
>
>Leave all other characters as-is.
>
>Listing 2 Punctuation characters that must be removed.
>
>!¡"#$%'()*+,\-./:;<=>¿?@[\]^_`{|}~
>
>Below are some examples to demonstrate the conversion that takes place.
>
>
>##App Store##
>
>##Company Name examples##
>
>Gameloft =>

[To see links please register here]

>
>Activision Publishing, Inc. =>

[To see links please register here]

>
>Chen's Photography & Software =>

[To see links please register here]

>
>##App Name examples##
>
>Ocarina =>

[To see links please register here]

>
>Where’s My Perry? =>

[To see links please register here]

>
>Brain Challenge™ =>

[To see links please register here]

Reply

#6
Try this way

[To see links please register here]

app ID here" return json.From this, find key "**trackViewUrl**" and value is the desired url. use this url(just replace `https://` with `itms-apps://`).This works just fine.

For example if your app ID is xyz then go to this link

[To see links please register here]


Then find the url for key "**trackViewUrl**".This is the url for your app in app store and to use this url in xcode try this

NSString *iTunesLink = @"itms-apps://itunes.apple.com/us/app/Your app name/id Your app ID?mt=8&uo=4";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];
Thanks
Reply

#7
This is working and directly linking in ios5

NSString *iTunesLink = @"http://itunes.apple.com/app/baseball-stats-tracker-touch/id490256272?mt=8";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];


Reply

#8
You can get a link to a specific item in the app store or iTunes through the link maker at:

[To see links please register here]

Reply

#9
This code generates the App Store link on iOS

NSString *appName = [NSString stringWithString:[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleName"]];
NSURL *appStoreURL = [NSURL URLWithString:[NSString stringWithFormat:@"itms-apps://itunes.com/app/%@",[appName stringByReplacingOccurrencesOfString:@" " withString:@""]]];

Replace itms-apps with http on Mac:

NSURL *appStoreURL = [NSURL URLWithString:[NSString stringWithFormat:@"http:/itunes.com/app/%@",[appName stringByReplacingOccurrencesOfString:@" " withString:@""]]];



Open URL on iOS:

[[UIApplication sharedApplication] openURL:appStoreURL];

Mac:

[[NSWorkspace sharedWorkspace] openURL:appStoreURL];
Reply

#10
I can confirm that if you create an app in iTunes connect you get your app id before you submit it.

Therefore..


itms-apps://itunes.apple.com/app/id123456789

NSURL *appStoreURL = [NSURL URLWithString:@"itms-apps://itunes.apple.com/app/id123456789"];
if ([[UIApplication sharedApplication]canOpenURL:appStoreURL])
[[UIApplication sharedApplication]openURL:appStoreURL];

Works a treat
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through