One more question about the different models… the 5th generation has another screen resolution compared to the 4th generation, right? Like the iPhone4 compared to an iPhone5, right?
Is there a way to figure out which device (iPod) model the app is on?
I want to make sure each iPod model is using the right display size graphics.
You can use display.pixelHeight and display.pixelWidth to get the physical dimensions of the screen.
For iPhone 5 / iPod Touch 5th generation this assumes that you have Default-568h@2x.png present in the root directory, otherwise it will default to 960x480 mode which is the same as iPhone/iPod Touch 4th gen.
One more question about the different models… the 5th generation has another screen resolution compared to the 4th generation, right? Like the iPhone4 compared to an iPhone5, right?
Is there a way to figure out which device (iPod) model the app is on?
I want to make sure each iPod model is using the right display size graphics.
You can use display.pixelHeight and display.pixelWidth to get the physical dimensions of the screen.
For iPhone 5 / iPod Touch 5th generation this assumes that you have Default-568h@2x.png present in the root directory, otherwise it will default to 960x480 mode which is the same as iPhone/iPod Touch 4th gen.