Make fix size round button as image in iphone sdk

3 Solutions Collect From Internet About “Make fix size round button as image in iphone sdk”

Here is a one good tutorial on this:

http://iphonedevelopment.blogspot.in/2010/03/irregularly-shaped-uibuttons.html

you can download code from here

https://github.com/ole/OBShapedButton

Hope this helps

An alternate but not really a good one first add an imageView add this particular image over it than add an custom invisible button over the image by adjusting size of the button it will not cover the whole image though but still it will work fine…actually i did use this approach in one of my app :p

OBShapedButton might help. It’s an open source UIButton subclass optimized for non-rectangular button shapes. If it still doesn’t work, making your own buttons isn’t that difficult either. Use a UIView and handle touches within the view. For eg, in touchesMoved:, set the active image and in touchesEnded:, handle the click event!