ios - How to check which Application the user came from after tapping a link (Associated Domains) of my App? -


so i'm developing app (ios 9) , set associated domains allows app opened directly when user taps link app.

after tapping link , app opened, new button appears on status bar allows user go previous app, this:
enter image description here

i'm catching action (launching via link) using:

- (bool)application:(nonnull uiapplication *)application continueuseractivity:(nonnull nsuseractivity *)useractivity restorationhandler:(nonnull void (^)(nsarray * __nullable))restorationhandler {     if ([useractivity.activitytype isequaltostring:nsuseractivitytypebrowsingweb]) {         nsurl *weburl = useractivity.webpageurl;         nslog(@"%@", weburl.absolutestring);     }     return yes; } 

is there way access information (the previous app, messages in case) nsuseractivity or similar?

there nothing in apis lets way thinking , not possible messages app. app links 1 way. of ios 9, apple has provided method go previous app, all.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -