magnificationFilter
The filter used when increasing the size of the content.
Declaration
var magnificationFilter: CALayerContentsFilter { get set }Discussion
The possible values for this property are listed in Scaling Filters.
The default value of this property is linear.
Figure 1 shows the difference between linear and nearest filtering when a 10 x 10 point image of a circle is magnified by a scale of 10.
[Image]
The circle on the left uses linear and the circle on the right uses nearest.