Hacker News new | ask | show | jobs
by bjxrn 5184 days ago
Would it be possible to ship with 1600 files, and then delete all assets when the download is complete, or at first run? That way you have one version of your app, and are ensured that the right size gets on your client. The download will remain large, but the storage requirements will only be high a short period of time.
1 comments

Nope. The assets are part of the app bundle, which can't be modified. Doing so would break the code signature (DRM).
That is unfortunate.

I see people suggesting going with SVG or resizing a high resolution image, but there was a good post not long ago about the problem with SVG and blindly resizing. You really need your images tweaked on a per-size basis.

I can imagine you can get away with automatically resizing iPad HD -> iPad, but going down to the relatively tiny sizes for the smaller screens would be a bad idea IMO.