Create circular UIImageView in swift4 programmatically

Published: 19 December 2017
on channel: Swift Tutorials
5,347
34

In this video, we learn how to make UIImageView or ant other view (like uibutton, uiview) circular using ony single line of code.

In this video we are making UIImageView circular by setting it layer's corner radius to half og UIImageView width. Also we wil use clipToBounds property of UIImageView.