If I put UIImageView in UIscrollView and expanded UIImage as long as you expanded, I thought that one pixel will be visible.

If I implement and check, you will not see one pixel and see that the image is smoothed and displayed.

Is there a way to view a pixel?

Is there a property to turn off smoothing to UIImage?

The following is the verification video.

https://streamable.com/qy5bzs

Self-solved

Answer is magnificationFilter.

https://developer.apple.com/documentation/quartzcore/calayer/1410907-magnificationfilter

imageView.layer.magnificationFilter = CALayerContentsFilter.nearest

If I put UIImageView in UIscrollView and expanded UIImage as long as you expanded, I thought that one pixel will be visible.
 
 
Q