【问题标题】:images in webview missing after upgrade from titanium to appcelerator从钛升级到 appcelerator 后 webview 中的图像丢失
【发布时间】:2016-01-27 19:39:00
【问题描述】:

从 Titan (sdk 3.2.3.GA) 更新到 appcelerator (SDK 5.1.2.GA) 后,所有本地 webview 上的图像都从应用程序中丢失。加载图片的 CSS 是:

background-image:url(imgs/images.png)

访问webview时我的终端出现这个错误:

[ERROR] Error loading /Users/me/Library/Developer/CoreSimulator/Devices/28073F1B-1FFF-459A-BA4A-6CCA9EB85CEB/data/Containers/Bundle/Application/2B337E08-79EF-4EE1-A62F-338E45199403/MyApp.app/webViews/imgs/images.png

同样,这在旧版本上运行良好。

关于如何检查以使本地图像再次显示在 web 视图中的任何建议?

【问题讨论】:

    标签: image webview appcelerator appcelerator-titanium


    【解决方案1】:

    您似乎找到了回归。请通过Appcelerator JIRA 检查这是否是一个已知问题。如果不是,请创建票证,链接到此问题,但还要在票证本身中提供可重现的代码、步骤和环境信息。不要忘记在此处放置门票链接,以便其他人可以与您一起观看。

    【讨论】:

      猜你喜欢
      • 2013-08-26
      • 1970-01-01
      • 2018-04-11
      • 1970-01-01
      • 1970-01-01
      • 2020-01-20
      • 1970-01-01
      • 2021-10-18
      • 2019-05-05
      相关资源
      最近更新 更多