Create circular UIImageView in swift4 programmatically

Опубликовано: 19 Декабрь 2017
на канале: 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.