Question

i'm trying to launch an app from another app in iOS with some tutorial from here. So far so good, i could open the app from inside of another app

so far, i've tried scenario like this : (Let's say app A has trigger to launch app B, app B have views / scenes of menu1, menu2, and menu3)

  1. Launch app B, go to deeper view / scene (menu3), minimize, Launch app A, call trigger to Launch app B -> result : B launched look like resumed (menu3 opened)

  2. Make sure app B shut down, Launch app A, call trigger to Launch app B -> result : B launched from start of the app (Splash screen -> menu1)

the question is, is it possible to launch with specific scene / view (like directly go to menu2 or menu3)? i saw at the tutorial i could enter some parameters but i don't understand yet how to use it

Was it helpful?

Solution

You need to pass additional information on the custom URL scheme when launching the other app to indicate which screen is desired. The launched app then needs to look at that value in the URL and based on the value, display the desired screen.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top