Evoke your own app, in fact, is through the link, about this need to understand the next scheme, and the caller docking the next protocol, here just to explain the next to their own app specified page problem
There are two ways to evoke your own app
First, their app has been started, then to arouse their own app, will go straight Handleopenurl (This method has 3, self-Baidu 3 methods exist period), in this method can be distributed to the designated page, this has nothing to say, focusing on the second situation;
Two. Your app does not start, will go first didfinishlaunchingwithoptions, and then go handleopenurl, if your page has ads, it is likely because after the end of the advertisement, back to Tabbar home
(This is generally the logic), then your distribution to the specified page will be replaced, so the workaround is:
External links evoke Ben App,app did not start this method when
Nsurl *url=[launchoptions Objectforkey:uiapplicationlaunchoptionsurlkey];
if (URL) {//Presence URL link proves to be externally aroused
Self.outsideurl=url;
}
In the didfinishlaunchingwithoptions, write the above method, in order to judge, when the end of the advertisement, can according to the above saved URL to judge do not jump back to the Tabbar homepage (this is our app logic, if others are not, can make their own judgment). You can even jump directly into the online approach.
iOS external links or apps that evoke your app