You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many caches use NSCache which will dump UIImages from its cache every time the app enters the background.
So if you have a tableView that needs to get reloaded after the app comes back into the foreground (for some reason), all the images have to get pulled from diskCache (if available) or reloaded from the network.
I've seen this behavior in AFNetworking as well, which also uses NSCache. Is there any fix for this?
The text was updated successfully, but these errors were encountered:
Many caches use NSCache which will dump UIImages from its cache every time the app enters the background.
So if you have a tableView that needs to get reloaded after the app comes back into the foreground (for some reason), all the images have to get pulled from diskCache (if available) or reloaded from the network.
I've seen this behavior in AFNetworking as well, which also uses NSCache. Is there any fix for this?
The text was updated successfully, but these errors were encountered: