Highlighted

Exit App in Air for IOS

Participant ,
Jul 28, 2016

Copy link to clipboard

Copied

Dear Friends,

iam creating a IOS app. in that I wan to add close button. when user click on the close button, app should close and end. I used the following code.

function close_clicked(event: MouseEvent) {

NativeApplication.nativeApplication.exit();

txt.text = "quiting";

}

It is working in my desktop. when I install in to my Ipad its not exiting the app. Pls help me.

even I added that " <key>UIApplicationExitsOnSuspend</key>" in xml file also.

Thanks and Regards,

Syed Abdul Rahim

TOPICS
Development

Views

243

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Exit App in Air for IOS

Participant ,
Jul 28, 2016

Copy link to clipboard

Copied

Dear Friends,

iam creating a IOS app. in that I wan to add close button. when user click on the close button, app should close and end. I used the following code.

function close_clicked(event: MouseEvent) {

NativeApplication.nativeApplication.exit();

txt.text = "quiting";

}

It is working in my desktop. when I install in to my Ipad its not exiting the app. Pls help me.

even I added that " <key>UIApplicationExitsOnSuspend</key>" in xml file also.

Thanks and Regards,

Syed Abdul Rahim

TOPICS
Development

Views

244

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 28, 2016 0
Adobe Community Professional ,
Jul 28, 2016

Copy link to clipboard

Copied

You don't say what you have the key set to. It needs to be YES, and not TRUE.

Do you realize that once you have that working, someone who doesn't want to quit your app, but does want to go to another app for a moment, will find that your app was quit on them without touching your close button?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 28, 2016 0