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.
相关链接:
https://github.com/albert-zhang/AZExitANE
|