简体   繁体   English

通过PhoneGap API关闭IOS中的应用

[英]Turn off app in IOS through PhoneGap API

I have a html5 app for iphone using phonegap. 我有一个使用phonegap的iPhone的html5应用程序。 I check for internet connection for the necessary first update, how do I turn of the app if the user does not have an internet connection? 我检查了互联网连接,以获取必要的首次更新,如果用户没有互联网连接,如何打开该应用程序? Thanks in advance. 提前致谢。 As I said I have full access to phonegap api! 正如我所说,我可以完全使用phonegap api!

if you want to deploy your app to the app store, you can not update the app under the covers. 如果要将应用程序部署到应用程序商店,则不能在幕后进行更新。 You have to submita new version to apple and let the users update your app. 您必须向Apple提交新版本,然后让用户更新您的应用程序。

If you just want to know wether your device is online you can use the Phonegap online offline events. 如果您只是想知道您的设备是否在线,可以使用Phonegap在线离线事件。 See: http://docs.phonegap.com/en/1.4.1/phonegap_events_events.md.html#online and http://docs.phonegap.com/en/1.4.1/phonegap_events_events.md.html#offline 请参阅: http : //docs.phonegap.com/en/1.4.1/phonegap_events_events.md.html#onlinehttp://docs.phonegap.com/en/1.4.1/phonegap_events_events.md.html#offline

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM