How can i make i circle picture with swift ?
My ViewController :
import UIKit import Foundation class FriendsViewController : UIViewController{
If you mean you want to make a UIImageView circular in Swift you can just use this code:
imageView.layer.cornerRadius = imageView.frame.height / 2 imageView.clipsToBounds = true