iOS

Iphone6 and Iphone 6Plus Resolution @x2/@x3

admin 2017.05.14 18:23 Views : 504

Now if how to use images with @1x, @2x & @3x.

Lets say you have an imageView in with size of 100W x 100H, to display images properly on all the devices with appropriate resolution without stretching or pixelation your image, one need to create 3 set of images as below according to device.

  • iPad 2, iPad mini supports @1x images, required image of size 100x100(WxH)
  • iPad, iPad mini supports @2x images, required image of size 200x200(WxH)
  • iPhone 4S, 5 & 6 supports @2x images, required image of size 200x200(WxH)
  • iPhone 6P supports @3x images, required image of size 300x300(WxH)

Though your UIImageView size is 100x100 for all the devices, but image displayed in different devices is different according to their resolutions.

Following size Table will give you more clarification, read more about it in apple documentation here

size chart

No. Subject
Notice Stanford University - Developing iOS 7 Apps for iPhone and iPad
25 Driver (Banner iOS)
24 Citizen (Banner/iOS)
23 Citizen (Smart iOS)
» Iphone6 and Iphone 6Plus Resolution @x2/@x3
21 Learn Xcode by | Apple | 2016 ✔︎
20 iOS Dev. #3 - UIPageViewController & UIPageControl Tutorial in Storyboard Swift 3.0 Xcode 8
19 Stanford University Developing iOS 7 Apps: Lecture 18 - Localization, Adding UI to Setti
18 Stanford University Developing iOS 7 Apps: Lecture 17 - Camera, Core Motion, Application
17 Stanford University Developing iOS 7 Apps: Lecture 16 - Modal Segues, Text Fields, Alert
16 Stanford University Developing iOS 7 Apps: Lecture 15 - MapKit and Embed Segue
15 Stanford University Developing iOS 7 Apps: Lecture 14 - UIApplication, Network Activity
14 Stanford University Developing iOS 7 Apps: Lecture 13 - Core Data and Table View
13 Stanford University Developing iOS 7 Apps: Lecture 12 - Documents and Core Data
12 Stanford University Developing iOS 7 Apps: Lecture 11 - Table View and iPad
11 Stanford University Developing iOS 7 Apps: Lecture 10 - Multithreading, Scroll View
10 Stanford University Developing iOS 7 Apps: Lecture 9 - Animation and Autolayout
9 Stanford University Developing iOS 7 Apps: Lecture 8 - Protocols, Blocks, and Animation
8 Stanford University Developing iOS 7 Apps: Lecture 7 - Views and Gestures
7 Stanford University Developing iOS 7 Apps: Lecture 6 - Polymorphism with Controllers, UI
6 Stanford University Developing iOS 7 Apps: Lecture 5 - View Controller Lifecycle