Syntax for Closing/Unloading App


#1

Okay gang, I have another simple request after spending 30 minutes trying to find some syntax. I have made a simple button bound to a function to just unload/close the application. Can anyone help me out with some syntax on just closing the app? By the way: we have delivered BETA on our app… took 2 weeks to create with AppStudio, installed beautifully on Android and iOS after a PhoneGap build and everyone is thoroughly impressed. BEE-U-TI-FUL!

function btnCloseApp() {
application.close;
}


#2

I think George has an opinion on this topic, ha!

In a nutshell, it typically isn’t done with modern mobile apps of any flavor.

Kind regards,
Doug


#3

Doug, I was starting to draw this conclusion myself. LOL. Good enough. Thank you kind sir.


#4

Doug’s answer is correct. Both Apple and Goog;e discourage this - I think Apple will even refuse to approve your app if you somehow manage to implement this.


#5

Thanks! As Spock would say, “Fascinating.” lol


#6

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.