Setting the Appearance of a Button’s Border

You can control what your button’s border looks like by changing its shape and shading. Note that the border doesn’t appear if isBordered returns NO. Use setBordered: to change its value.

To change the border’s shape, change the button’s bezel type with setBezelStyle:. There are two major categories of bezel type.