开发者

Closing an iPad webapp from HTML/Javascript?

开发者 https://www.devze.com 2023-03-03 06:42 出处:网络
I\'m developing a webapp for iPad and i\'m close to finish it (thank\'s to you guys by the way) but now that I\'m pretty close I\'m开发者_如何转开发 wondering and can\'t find documentation on how do I

I'm developing a webapp for iPad and i'm close to finish it (thank's to you guys by the way) but now that I'm pretty close I'm开发者_如何转开发 wondering and can't find documentation on how do I tell the browser to close the application onClick? Thanks a lot!

Emilio Peña


I haven't done iPad web apps but I've done them on some other platforms, and in all of them you close the app with:

window.close();

As a side note, iOS applications don't usually have close buttons, so perhaps you don't even need one?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号