cornerRadius for UILabel using User Defined Runtime Attributes not working
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
Solution
It is layer.cornerRadius not just cornerRadius also you need to set layer.masksToBounds to true.