After the app is online, after the small partner tries to retrieve the password after the login page to jump to a webpage, why can not click the button to return to the app?!
Here are some summary and experience of the application:
1, the app jump to the Web page this is very simple and easy to implement, as long as the URL to know the page, call[[uiapplicationsharedapplication] openURL: urlstr]; it's OK. 2, the page jumps to the App,app to jump to the appThese two principles are a bit similar, put together in terms of. In the online collection of information found that in fact, the app jumps to another page is open URL or a URL scheme (URL scheme). Then you can imagine that a URL scheme is set up for an app, and then you can open the app from somewhere else through this URL scheme. 1. Modify the Info.plist file in the original application and add the URL under List types2. Then open item 0, add the URL schemes, set the item 0 in it as an identifier string that you want to set the app3. Open the app in other places// open another program
nsurl nsurl Urlwithstring:@ "Returnapp:" ];[[uiapplication sharedapplication] openURL: urlstr]; Note: When you open the app, you need to append a colon to the label, which is :@ "Returnapp:" thinking: Can you make two apps jump to each other? Reference: http://www.cocoachina.com/bbs/read.php?tid-58388-page-1.html
About achieving mutual jumps in Web pages and apps