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?

the pixelated label , button

thanks awnsers!

make sure have not set shouldrasterize property; if so, try unsetting it.
apple documentation:

should​rasterize
a boolean indicates whether layer rendered bitmap before compositing.

which may have turned label pixelated.

hope help.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -