Appcelerator::Titanium::Real 设备:: Imageview 未显示来自远程的更新图像 url
Appcelerator::Titanium::Real device:: Imageview is not showing the updated image from remote url
在真实设备中,Imageview 不显示来自远程 url 的更新图像。我在模拟器和仿真器中都试过没有问题。
能否分享您的意见?
谢谢,
杰.
您可以向 url 添加一个唯一参数以确保它不被缓存。
示例
imageView.image: "http://www.google.com/profile/image0001.png" + "?t=" + new Date();
其中“http://www.google.com/profile/image0001.png”是您的实际 url。
在真实设备中,Imageview 不显示来自远程 url 的更新图像。我在模拟器和仿真器中都试过没有问题。
能否分享您的意见?
谢谢, 杰.
您可以向 url 添加一个唯一参数以确保它不被缓存。
示例
imageView.image: "http://www.google.com/profile/image0001.png" + "?t=" + new Date();
其中“http://www.google.com/profile/image0001.png”是您的实际 url。