josh
josh

Reputation: 1689

How to minimize app size with heavy images in iOS Development?

I am going to work on client application, in which he need to have whole app locally resources loading, and I have almost 70mb images files for iPad. I am going to start development soon but before that I need healthy suggestion and guidelines to reduce my app size with these images use locally. I don't want to make this heavy size like any 3d game? So I am looking for suggestion what should I do? Thanks in advance.

Upvotes: 1

Views: 221

Answers (1)

Apurv
Apurv

Reputation: 17186

There are few ways:

  1. zip all the image resources in the bundle. On first launch, extract that zip folder into documents directory and refer the image from there only. You will have to do it on first launch only.
  2. create jpeg version of your images with some reduced quality. Apart from icon and splash, you can use jpeg version of images.
  3. If possible, use 1 pixel width/height images for repetitive gradients.

Upvotes: 1

Related Questions