I want to make an imageview round shape in ios to display any user's profile photo.
imageview
Is this possible with the layer.cornerRadius property layer.cornerRadius or do I need to find another solution?
layer.cornerRadius
Any help would be appreciated.
yes, you can use layer.cornerRadius just remember to add layer.masksToBounds = YES;
layer.masksToBounds = YES;
Using QuartzCore is the best solution for you, see this answer , it will help you.
Note. What applies on UIView will apply to UIImageView .
UIView
UIImageView
Source: https://habr.com/ru/post/1434627/More articles:javascript unloads and redirects an alternative - javascriptHow to sort by distance from now () (in the future) in PostgreSQL - sqlDetecting if any command line options have been specified more than once using optparse or argparse - pythonSignal Strength for Android Wifi - androidsleeping oracle problem - oracleWhen did Internet Explorer introduce the readyState property for a document object? - javascriptSerializing BigInteger fields as String (in simple notation) using Jackson - javaForcing the reference category in the logistic model in R - rORA-00918: a column is ambiguous: how to find a column - oracleMaven API for C # - c #All Articles