Reputation:
You can see in the picture, that the label inside of the view with the shadow looks pixelated (also the UIButton) and the other one outside this shadow UIView looks normal. How can I remove this pixelated effect?
Thanks for your awnsers!
Upvotes: 0
Views: 464
Reputation: 1178
Make sure you have not set shouldRasterize
property; if so, then try unsetting it.
From Apple Documentation:
shouldRasterize
A Boolean that indicates whether the layer is rendered as a bitmap before compositing.
which may have turned your label to pixelated.
Hope it will help.
Upvotes: 6