Reputation: 1546
I want to make complete round shape of imageview
in ios for displaying profile photo of any user.
Is it possible with layer.cornerRadius
property or need to find other solution?
Any help will be appreciated.
Upvotes: 4
Views: 5084
Reputation: 971
yes you can use layer.cornerRadius
just dont forget to add layer.masksToBounds = YES;
Upvotes: 4