Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>One way could be to register a custom URL scheme for each of your apps. And you would ask the user to open the episode <code>n</code> which would link to episode <code>n+1</code> with your specific info in the URL.</p> <p>When the app <code>n+1</code> opens, you can treat the info from the URL. Make sure to put safeguards in against tempering the URLs (if that's important for your app).</p> <p>To do that, implement the following method in your application delegate:</p> <pre><code>- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url </code></pre> <p><a href="http://developer.apple.com/iPhone/library/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intfm/UIApplicationDelegate/application:handleOpenURL:" rel="nofollow noreferrer">Apple Doc for <code>handleOpenURL:</code></a></p> <p>NB: In episode <code>n</code>, you could use the method <a href="http://developer.apple.com/iPhone/library/documentation/UIKit/Reference/UIApplication_Class/Reference/Reference.html#//apple_ref/occ/instm/UIApplication/canOpenURL:" rel="nofollow noreferrer"><code>canOpenURL:</code></a> to know if episode <code>n+1</code> is installed or not, thus behaving differently. Similarly, <code>n+1</code> could know if the user has <code>n</code> already and then ask if the user wants to get their info from <code>n</code> and open it for them… It's up to you at that point :)</p> <p>You can also look at</p> <pre><code>`- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions` </code></pre> <p>which seems to be newer and includes the treatment of the case of an app launched from a remote notification. (<a href="http://developer.apple.com/iPhone/library/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intfm/UIApplicationDelegate/application:didFinishLaunchingWithOptions:" rel="nofollow noreferrer">Apple Doc for <code>didFinishLaunchingWithOptions:</code></a>)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload