简体   繁体   中英

Inter app communication on IOS

In IOS, it is possible to launch another app from your app using a URL scheme. But is it possible to have it then return to the calling app if the home button is then pressed?

What if Guided Access is enabled?

No sorry, The Home button will always lead to the users home, there is no way for developers to override that.

You can however have a button in the "called" app that will take the user back to the app that opened it. Facebook does this when going back and forth between their main app and their messages app.

edit Good answer from @shim about guided access in the comments. Basically if its on, you won't be able to leave the app so it doesn't do any good with this problem. /edit

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM