I want to create a round circular button. This button should look like a circle.
This code gives round rectangular button.
UIButton *button = [UIBut
In Xcode 7.0.0 on IOS 8 this code works perfectly for me. Provided the length and height of button frame is same.
myButton.clipsToBounds = YES; myButton.layer.cornerRadius = myButton.layer.frame.size.width/2;