how to set Image in circle in Swift



imgUserImage.layer.borderWidth = 0.01
imgUserImage.layer.borderColor = UIColor.white.cgColor
imgUserImage.layer.cornerRadius =  imgUserImage.frame.width / 2
imgUserImage.layer.masksToBounds = true

Comments

Popular posts from this blog

Windows Keys

Important extensions while create a new App in swift

S.O.L.I.D. Principles with Example (Swift & Dart)