问题
I want to just close or minimize (hide) full-screen iPhone web application.
How to do this? window.close();
doesn't work.
回答1:
You can't. You cannot quit the browser from JavaScript.
But you could try to make the browser crash... not that this would be a good idea.
回答2:
I'm not really sure why you would want to do this, but you cannot.
来源:https://stackoverflow.com/questions/10342230/close-iphone-webapp