Hi,
I’m working on an app, which has to download images to the documents folder and overwrite already downloaded ones. I tried it on Windows and Mac simulator (both version 2016.2906), an ios and an android device.
Windows and android: There isn’t any problem, it downloads the image, overwrites previous version and shows the new one in the app right away.
Mac and ios: Here are the problems. Even in the simulator it downloads the files, but once there is a version downloaded, that version stucks. That means even if I delete everything in the documents folder, somehow I can’t download a new version from that file. So a file is downloaded, and the creation date is ok, but the content is the old one, and that shows up in the app. I also checked the image in a web browser from the mac, and it’s the correct one.
I’m using the same code for every version, but it works differently so I assume there’s a difference in file handling. Am I correct? Is there a kind of cache on Mac and ios?
Zsolt