清除PhoneGap缓存 [英] Clear PhoneGap Cache

查看:131
本文介绍了清除PhoneGap缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我部署我的PhoneGap应用程序到我的iPad,它不显示最新版本。我猜这是因为WebView是缓存的东西。我不知道如何清除它。

When I deploy my PhoneGap application to my iPad, it doesn't show the most recent version. I'm guessing this is because the WebView is caching stuff. I can't figure out how to clear it.

到目前为止我有..


  • 已重新启动

  • 已重新启动

  • 已移除应用程式

  • 清除Safari Cache

  • Rebooted
  • Hard Rebooted
  • Removed Application
  • Cleared Safari Cache

任何其他想法?

推荐答案

在Xcode中清理项目,cmd + shift + k。 Xcode缓存html文件,在这种情况下,它很可能是index.html文件。在您每次部署到设备时都需要执行清理项目步骤。

You need to clean the project in Xcode, cmd+shift+k. Xcode caches html files heavily, in this case it's most likely the index.html file. Instill the clean project step in your mind as you need to do it every time you deploy to device.

这篇关于清除PhoneGap缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆