i'm working on updating app, , have updated images, , videos (which stored locally in app bundle). when run in simulator , on device still shows old content.
the way show new content either delete old app or restart simulator, both not ideal once app reaches store since users still see old content.
i'm looking way programmatically refresh/clear cached images , videos instead of having delete app , install again!
the following code clear uiwebview cache, doesn't work!
[[nsurlcache sharedurlcache] removeallcachedresponses]; i'm looking way force clear/refresh cache in app delegate in order display new assets.
fyi, assets have same file name, example, when replaced logo, still show old 1 unless delete app , reinstall it.
your appreciated! thanks.
Comments
Post a Comment