简体   繁体   中英

iOS 9 : Add Action When Push “Back To App” Button

I've created 2 app. The first app can send value to the second app to process (URL Scheme). After success in the second app, it can open the first app and give a response using UIButton. but how to detect "back to app" is pressed so I can add action to give response to the first app?

Is there any delegate at "back to app" button? I want to show alert before "back to app" start switching app to previous app.

The thing you are asking for is not possible. Users, not apps, are supposed to be in control of which app is in the foreground.

Refer

Bring previous app back to the front when user is done with my iOS app

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