Rounded Rect UIButton without the border

Posted by Dave DeLong on Stack Overflow See other posts from Stack Overflow or by Dave DeLong
Published on 2010-03-31T21:02:26Z Indexed on 2010/04/01 0:23 UTC
Read the original article Hit count: 1508

I'm trying to draw a normal rounded rect UIButton, but without the border. Ideally I'd like to be able to change some setting on the UIButton to disable the border.

My problem is that if I change the button type to "custom", I don't get the nice blue selection gradient (which I want to keep), and I have no idea how to draw it manually.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uibutton