Changing Image quality for the iPhone 4 users in an iPhone app
-
27-09-2019 - |
Question
I want to display an image to my users which is larger than the screen area and will overscroll to let the users drag it around and zoom in.
Do I need different images with different dpi for iPhone 4 users because of the higher resolution?
Or can I just set the zoom level differently depending on device?
Solution
Yes, you need to use different images. iOS 4 will automatically detect a higher-res image if you name it with a @2x
suffix. e.g. image.png => image@2x.png
(You must be a Registered iPhone Developer in order to see this document)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow