The document said "For layers attached to a view, the view changes the scale factor automatically to a value that is appropriate for the current screen." Im confused! why not 2 or 3 for retina device?
Asked
Active
Viewed 56 times
0
-
is your view in the view-hierarchy and visible when you try to read the value? did you create the layer manually? – holex Feb 22 '17 at 09:58
-
Check out your answer here .. http://stackoverflow.com/questions/18459078/when-do-i-need-to-set-the-contentsscale-property-of-a-calayer – Naveed Khan Feb 22 '17 at 09:58
-
@holex it is the original layer – user7398125 Feb 22 '17 at 12:21