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.
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
No. | Subject | Author | Date | Views |
---|---|---|---|---|
9 | Swift 3 Tutorial - Changing Image Gallery - iOS 10 Geeky Lemon Development | admin | 2017.06.10 | 110 |
8 | IMAGE SLIDE SHOW || PAGE CONTROLLER IN SWIFT 3 | admin | 2017.06.09 | 218 |
7 | Paging using PageControl and UiScrollView Swift 3.0 | admin | 2017.06.09 | 151 |
6 | How to make Circle image iOS 10, xcode 8 | admin | 2017.06.09 | 122 |
5 | iOS Dev. #3 - UIPageViewController & UIPageControl Tutorial in Storyboard Swift 3.0 Xcode 8 | admin | 2017.06.09 | 126 |
4 | Getting Directions! (MapKit | Swift 3 in Xcode) | admin | 2017.06.08 | 1179 |
» | Iphone6 and Iphone 6Plus Resolution @x2/@x3 | admin | 2017.05.14 | 23629 |
2 | Learn Xcode by | Apple | 2016 ✔︎ | admin | 2017.05.11 | 126 |
1 | iOS Dev. #3 - UIPageViewController & UIPageControl Tutorial in Storyboard Swift 3.0 Xcode 8 | admin | 2017.05.11 | 932 |