守望者--AIR技术交流

标题: IOS 退出应用ANE [打印本页]

作者: 破晓    时间: 2015-2-20 14:53
标题: IOS 退出应用ANE
AZExitANE

NativeApplication.nativeApplication.exit() does not work on iOS. So you can use this extension to exit an app.

Work on both iOS and Android. It actually call the exit() on iOS andNativeApplication.nativeApplication.exit() on other platforms.

Note: according to the design guide of iOS app, manually exit an app in iOS is not a good practice.




[attach]847[/attach]


相关链接:


https://github.com/albert-zhang/AZExitANE







欢迎光临 守望者--AIR技术交流 (http://www.airmyth.com/)