简体   繁体   中英

How to close ios app in Delphi-XE5 Firemonkey application?

I do not manage to find how to end an application iOS in Delphi XE5 Firemonkey.

Application.terminate does not work.

Thank you for your help

In iOS it is not allowed to close an App. You can only force a crash. Apple will not allow Apps with this behavior in their AppStore. An alternative an be to set UIApplicationExitsOnSuspend to Yes (in the info.plist file). => When the user presses the home button your application will be ended.

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