Reputation: 1
I am developing my first app (iOS universal app), I want to reduce my app's size because it contains many images (png files) and sounds(mp3 files).
So my problem is: How can I reduce the size of my app (images and sounds)?
Thanks!
Upvotes: 0
Views: 613
Reputation: 26385
Depends, compress png images to jpeg usually reduce app size, there are also image optimizers that compress pngs. If your images are part of the UI, tile them or stretch them really helps you in reduce app size and also memory usage. The image asset function in Xcode 5 helps in you in create resizable images.
For sounds the concept are pretty close to images, use compressed file audio as eckyzero said.
If your sounds and images aren't part of the UI but resources, you can make the app download them from the internet at first launch.
Upvotes: 0
Reputation: 2352
Images:
This approach will significantly decrease the size of your app but also let you pull down additional image files as needed.
Sounds:
Upvotes: 1