swift - UILabel looks pixelated with shadow -
you can see in picture, label inside of view shadow looks pixelated (also uibutton) , other 1 outside shadow uiview looks normal. how can remove pixelated effect?
thanks awnsers!
make sure have not set shouldrasterize property; if so, try unsetting it.
apple documentation:
shouldrasterize
a boolean indicates whether layer rendered bitmap before compositing.
which may have turned label pixelated.
hope help.

Comments
Post a Comment