func setProfileImage() {
profileImageView.frame.size = CGSize(width: profileImageView.frame.height,
height: profileImageView.frame.height)
profileImageView.layer.cornerRadius = profileImageView.layer.frame.height/2
profileImageView.center.x = view.center.x
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter