iPhone iPad universal app - how big is final file for devices? - iphone

If I have 300 640 x 960 images (for iPhone 4) and 300 1024 x 768 images for iPad, and I want to make a universal app, does the installed app on the iPhone include all the iPad specific images and vice-versa?
Seems like on many apps it would greatly increase the installed application size on different devices.

A universal app is a single application by definition, so it will include all your images.

Related

How to handle graphics in iPhone 4,4s and iPhone 5,5c,5s

So early when working with iPhone Retina and non-Retina, I used to handled images as "image.png" and "image#2X.png", and that used to do the trick in handling graphics.
But what I am facing now is that I am no more building for iPhone 3,3g,3gs. That means all images are for retina now, so the question is that how to handle iPhone 5,5c,5s images. As these devices vertical resolution is more than 960 pixels.
Do I need to make two separate image sets for iPhone 4,4s and iPhone 5,5c,5s?
no, you need not to make two separate image sets for iPhone 4 and iPhone 5 series, it's only issue if you want to have whole screen image for some backgrounds for example... different images only for start screens.
Edit:
icons and non-full screen graphics are probably the same on iPhone 4 & 5. For full screen wallpapers you need separate sets for different resolutions based on device here are the naming conventions you can use
image.png -> iPhone (non-retina)
image#2x.png -> iPhone 4s/4 (retina)
image-568h#2x.png -> iPhone 5
image~ipad.png -> iPad (non-retina)
image#2x~ipad.png -> iPad (retina)
refer this apple design guide and http://www.iosres.com

if I changed app graphics for iphone 5 , is it going to work for iphone 4, 3GS properly

if I changed app graphics for iphone 5 , is it going to work for iphone 4, 3GS properly or the users have to resize the app like when you download iphone app in iPad ?
If you mean you are using both normal sized images and 2x images for retina display, you won't have a problem on older devices.
They'll just pickup the regular sized images while the ones with retina display will load the #2x ones.
What you do have to take into account is that if you don't include regular sized images (if you only use #2x images), older devices won't load them.
#2X will still work. However I did download xcode 4.5 with iOS 6 Gold Master seeds and played with it last night. The splash screen will include the new slightly higher resolution image 11??x640 as well as the 960x640 and 480x360.
For fullscreen images, you will have to supply at least two versions, better three.
One being 640 × 1136, one being 640 x 960 and one being 320 x 480.
For the 3.5" retina version, you may use the automatic selection (aka #2x). For the former 4" retina version it appears as if you will have to include your own code to select the right one.

Sharp images in iPhone app but grainy images in iPad app

We're using retina images in our iPhone app (i.e., double the size).
The images render great on an iPhone 4 -- sharp and crisp. However, for the same app, the images look grainy on an iPad when run in "1x" mode (i.e., iPhone app size).
The code is exactly the same for both apps. There is no iPad version. People just download the iPhone version on iPads.
Are we supposed to use different images for the iPad?
Here is the app: http://itunes.apple.com/app/dumpling/id514239919
If you download it on an iPhone and then again on an iPad, you'll see the difference.
If the app is not universal then they are rendering the iPhone version on the iPad. I'm assuming you aren't in "2X" mode so if you are on an iPad 1 or 2 your app would not be using the retina graphics so it'll look grainy. Have you tested this on an iPad 3? This should render correctly for you with the #2x images.

Application fails to load inconsistently on iPhone 3G

I have two iPhone devices: 3G and 3GS. My application always loads successfully on iPhone 3GS but on iPhone 3G it loads like 10% of tries (but it loads). I do not have any exceptions or zombies.
Can someone lead me to possible causes or suggestions to how can i find root cause of the problem?
There are many possibilities. One of them is the "Images". Are you using a lot of images? What are the resolution. Remember:
iPhone 4, ipod touch use XX#2x resolution (retina image: 640 x 960 px)
iPhone 3 without #2x (smaller resolution: 320 x 480 px)

Running app built in iOS4 on iOS 3.0, why is everything huge?

My background and my icons are all huge, like it's zoomed in 2x. Any ideas why?
Check the images in the app- there should be two sets of images, with one set being at double resolution and suffixed with "#2x". If there's just one set and they seem large, odds are the developer never intended the app to be run on a device that's not running iOS4 (which seems odd, but there it is).
That's because the apps in iOS 4 are targeted for iPhone/iPod 4 which have a resolution of 960 x 640, whereas iOS 3 has a resolution of 480 x 320. Do read about Retina Display of iOS for further details.