I am using Xcode6 and checking with ios8.
Your image height and width should be the same.
The following code works fine for me.
yourImageView.layer.cornerRadius = img.frame.size.height /2; yourImageView.layer.masksToBounds = YES; yourImageView.layer.borderWidth = 0.1;
Hope this works for you too.
source share