I'm just now getting into iOS development. Is it possible for a developer to have a universal application, then after install, delete assets that the current OS doesn't need? As in, after the iPhone app runs, check the OS and then delete the iPad Retina graphics?
Thanks,
Andrew
> I'm just now getting into iOS development. Is it possible for a developer to have a universal application, then after install, delete assets that the current OS doesn't need? As in, after the iPhone app runs, check the OS and then delete the iPad Retina graphics?
As Cody mentioned, there's no way to modify bundles on the device.
Don't worry about your application size. While we, as developers, tend to obsess over things like application size, most users don't care how large (or small) your application is. The time you spend trying to shrink your application is time you could have spent fixing bugs or adding features that your users actually care about.
The only exception is when it comes to the OTA download limit. If you're close to the limit (which is currently 50MB) spend some time trying to reduce the size of your application.
Best,
John
I get where you're coming from as a developer. However, I'm a user
too. And I know that I've installed five or six "iPad Retina graphics
only" updates personally that have increased the install in size by
30-45%. I know an app going from 22 MB to 36 MB probably isn't going
to be noticed until you're doing a compare before and after, but if
you're on your last 150 MB and it's gone for no reason you'd probably
notice.
I personally think that this needs to be addressed in the grand scheme
of things. There should some mechanism for reducing the file size
after install or a dynamic download/install based on OS. As more and
more universal apps update for iPad Retina graphics, it's only going
to be taking up more valuable space on your iPhone. Right now I
estimate about 300 MB wasted on my iPhone and that's only after 5-6
apps. I (the user) am going to be even more grumpy when it reaches a
GB or higher. That's significant on a 16 GB (really 13.7 GB capacity)
iPhone.
Andrew