Use additional Buttons shapes in ios

OBShapedButton. Although UIButton can use images of various shapes, one key benefit of OBShapedButton is that a button of this type will only respond to touches in the areas of the button image that is visible.

The demo project included shows how OBShapedButton differs from a standard button, as the figure below indicates:




OBShapedButton also supports complex image shapes:



Grab The Source code Here..

Leave a Reply

Your email address will not be published. Required fields are marked *