简体   繁体   中英

How to exit (close) a mobile flex application?

I want to exit ( close ) programmatically a mobile flex application when clicking a Button. What is the ActionScript for that ?

I think you should use

NativeApplication.nativeApplication.exit();

Explained here: Application launching and exit options .

On Android you can do

NativeApplication.nativeApplication.exit();

On iOS, this is not possible. http://forums.adobe.com/message/4347689

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