Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7005033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:16:38+00:00 2026-05-27T21:16:38+00:00

Apple has explained in Launching the App Store from an iPhone application how one

  • 0

Apple has explained in “Launching the App Store from an iPhone application” how one can make an affiliate link to the app store and handle the redirect in background so it doesn’t annoy the user. But it would be even better not to have the redirect at all. I seem to remember seeing a way to do that, but now I can’t find it anywhere.

Is it possible to make an affiliate link from an iOS app to the app store without any redirect at all?

EDIT: To clarify, I am talking about a Linkshare affiliate link.

EDIT 2: I’m getting closer. I have this link, which I grabbed straight off of linkshare’s “text links” page. When using k1th’s trick below, works without any redirects on the iPad, but still has one redirect on an iPod touch [and presumably iPhone]. I speculate that the redirect may be to switch from top iPad apps to top iPhone apps, but I don’t know that for sure.

http://click.linksynergy.com/fs-bin/click?id=sf2bW7QX/qU&offerid=146261.10005745&type=3&subid=0

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:16:39+00:00Added an answer on May 27, 2026 at 9:16 pm

    I take it the reason you don’t want redirects is to

    • avoid the Safari browser from popping up
    • avoid redirection within the App Store app itself

    I would prefer k1th’s solution, but failing that (I suppose it could fail #2 above), I assume the problem is that the first itms link is not the “final” one. One solution would be to simply hard-code the URL (or provide it by some other means):

    - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType {
        NSURL myAppUrl = ....
        if ([request.URL.scheme isEqualToString:@"itms"] &&
            [[UIApplication sharedApplication] canOpenURL:myAppURL]) {
            [[UIApplication sharedApplication] openURL:myAppURL];
            return NO;
        }
    
        return YES; // go on redirecting
    }
    

    A cleaner solution would be to read the app ID off the itms link in the request.URL and format a new URL using the pattern that will take you directly to your app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

every iPhone and iPod Touch has got the Apple Addresses App ... when you
Apple has included HTTP Adaptive Bitrate Streaming in the iPhone OS 3.0, in particular
I see that apple has implemented a max size for the actual application but
Apple has many big colored buttons, that are not standard. One of them is
It seems that Apple has so far gone the furthest of any mobile platform
Many people are saying that Apple has restricted it for better performance. If so
The Apple dev site makes it look as tho it has all the tools
With all the normal Apple updates applied (I.E. No additional effort has been made
I created a tab bar application, and I make the first tab a table.
Apple has deprecated NSObject 's poseAsClass: method for OS X v10.5 and above. Is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.