I try to add cornerRadius to UILabel using User Defined Runtime Attributes
But it is not working as expected, cornerRadius is not setting and I wonder where I made mistake. I attached screenshot of it,
Help me out in solving
It is layer.cornerRadius
not just cornerRadius
also you need to set layer.masksToBounds
to true
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With