Highlighted

exit from an ios app

Explorer ,
Mar 04, 2019

Copy link to clipboard

Copied

too late now since current animate version can no longer export as an ios app (SDK Version Issue - This app was built with the iOS 11.0 SDK. Starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later.),  but still, I made an app with an exit button

NativeApplication.nativeApplication.exit();

  break;

it works in android, and in desktop tests (targeted to air, either android or ios, not as a simple flash projector, which requires fscommand). but if the app is running in a real ios device, it will not work, and instead it will kill the app functionality. It will still show the app, with background animations, but it will stop responding to events or actions. how do I exit from an ios app

NativeApplication - Adobe ActionScript® 3 (AS3 ) API Reference

Note: This method is not supported on the iOS operating system.

You can't do that, it's not Air problem, it's how iOS works.

Views

362

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 from an ios app

Explorer ,
Mar 04, 2019

Copy link to clipboard

Copied

too late now since current animate version can no longer export as an ios app (SDK Version Issue - This app was built with the iOS 11.0 SDK. Starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later.),  but still, I made an app with an exit button

NativeApplication.nativeApplication.exit();

  break;

it works in android, and in desktop tests (targeted to air, either android or ios, not as a simple flash projector, which requires fscommand). but if the app is running in a real ios device, it will not work, and instead it will kill the app functionality. It will still show the app, with background animations, but it will stop responding to events or actions. how do I exit from an ios app

NativeApplication - Adobe ActionScript® 3 (AS3 ) API Reference

Note: This method is not supported on the iOS operating system.

You can't do that, it's not Air problem, it's how iOS works.

Views

363

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
Mar 04, 2019 0
Explorer ,
Mar 06, 2019

Copy link to clipboard

Copied

NativeApplication - Adobe ActionScript® 3 (AS3 ) API Reference

Note: This method is not supported on the iOS operating system.

You can't do that, it's not Air problem, it's how iOS works.

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...
Mar 06, 2019 2
Enthusiast ,
Mar 07, 2019

Copy link to clipboard

Copied

Regarding the SDK Version Issue, you should add the latest AIR beta SDK to Animate (go to "Help > Manage Adobe AIR SDK" in the Animate top menu). It's built with iOS 12.1 SDK.

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...
Mar 07, 2019 0