Appcelerator :: Titanium :: Real device :: Imageview未显示远程URL的更新图像

问题描述 投票:0回答:1

在Real设备中,Imageview未显示远程URL的更新图像。我已经尝试过模拟器和模拟器,没有任何问题。

你能否分享一下你的意见?

谢谢你,Jai。

appcelerator-mobile appcelerator-titanium
1个回答
0
投票

您可以向url添加唯一参数,以确保它不会被缓存。

imageView.image: "http://www.google.com/profile/image0001.png" + "?t=" + new Date();

http://www.google.com/profile/image0001.png”是你的实际网址。

© www.soinside.com 2019 - 2024. All rights reserved.