ios - How to reduce the itunes app size? -


when submitting app apple, noticed though app bundle 60 mb, actual app shows on itunes 54 mb. however, when making ad hoc build, ipa 30 mb.

my understanding due drm apple has: https://developer.apple.com/library/ios/qa/qa1795/_index.html

however, there better way bypass drm apple puts?

apple came solution if add resources (images, videos, etc) called assets catalog file and configure each file according device type being used then can dramatically reduce app size.

think it! have 3 copies of every image: img.png img@2x.png , img@3x.png why need have non-retina set of images on retina device?

and answers why see lower app size when build. xcode automatically, can fine tune in assets catalog. here how:

https://developer.apple.com/library/mac/recipes/xcode_help-image_catalog-1.0/chapters/customizingimagesetsforsizeclasses.html#//apple_ref/doc/uid/tp40013303-ch10-sw1

oh yeah, not app size reduces! apple made seamless integration make appstore downloadable app smaller. making custom build every kind of device. use assets :)


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -