Home how to remove white space in circle UIImageView?
 I wanted to circle my UIImageView and added this code : profileImage.layer.cornerRadius = profileImage.frame.size.height/2 profileImage.clipsToBounds = true  and it work perfectly, but when images are horizontal, I get this picture: as you can see, there is white space at the bottom and top of my circle image view. but what I really wanted was a circle filled with my image! I've tried changing "content Mode" from attribute inspector, but I didn't get any answer! how can I fix this issue?