how to create a rounded transparent rectangle by using cocoa touch ?

Posted by srikanth rongali on Stack Overflow See other posts from Stack Overflow or by srikanth rongali
Published on 2010-06-09T04:16:04Z Indexed on 2010/06/09 4:22 UTC
Read the original article Hit count: 348

Filed under:
|

Hi, I need to create a rounded rectangular box in which there will be 6 buttons in iPhone application. And the rectangular box is transparent. Each button have an image and text. And they are also transparent. ( Here transparent means we can see the background image of the box. Sorry for my vocabulary.)

I could not get how to start it. I thought of the following one but,

By using core graphics draw the outside rounded rectangle and then draw inside rectangles like 2x3 grid.

Can I make with this ? Are there any good and easy methods than this. Please give me some idea how to start over with ?

Thank you.

© Stack Overflow or respective owner

Related posts about cocoa-touch

Related posts about iphone-sdk-3.0