Closed michaelkirk closed 9 years ago
When I reported this issue - it was actually because images weren't loading at all on ios9. The images that did display were cached (presumably before updating?).
But there is still a problem when an image isn't fetched that there is no way to re-download the image other than refreshing the whole list.
This was due to tighter default security restrictions on ios9.
Moving the api endpoint to ssl was straight forward enough, but getting the assets behind appropriate ssl was trickier.
My hazy recollection of this frantic process was something like:
As a side note, I was able to fix this entirely on the API side - no client changes required.
Some spots never load their image. This seems to happen when I'm on a shoddy network. Even when I refresh (pull-down) the spots list and close and restart the app I see the same 4 of 10 spot images. The other 6 are the pixel-bike loading image.
My theory is that the network request times out or something, and that response is somehow cached.Possible Solutions:From instagram: When a spot fails to load, render a reload button.(somehow) flush the cache and rerender all spot images when refresh control is pulled(somehow) flush cache when app is restarted (undesirable side effects)I was wrong. No images were loading on ios9 due to stronger default ios9 security settings. However, the possible solutions are relevant to the issue of when images fail to load for other reasons.