Fix blurry text after CGAffineTransformMakeScale

I have several views with many UILabels in the views. (everything is built in Interface Builder).

Then I try to create a "smaller" replica of my view when you pinch the screen.

For this, I apply:

view.transform = CGAffineTransformMakeScale(.5, .5);

and then I will also adjust the viewing frame.

The problem is that after the conversion, the text in all my UILabels becomes “blurry”. It does not remain ideal, as in full-scale form.

Is there a way to increase the pixelation of labels after conversion?

+3
source share
1 answer

UIView CALayer . , .

, , . , UIView, UIScrollView .

, , , , , . - , .

+8

All Articles