Anyone have sample code or know how to draw a rounded rectangle (similar to the rounded rect UI Button, or the rounded view on a grouped table)
I want to draw custom data on a View, and want to keep the look consistent with the rest of the app. I want to frame it all in a rounded rectangle, as if it's in a button. Anyone know of sample code to do that?
Do you need to create small regions in each corner and draw quarter circles? Or is there a simple API to do that?
Or would you say I should just draw directly on an already rounded button?
I want to draw custom data on a View, and want to keep the look consistent with the rest of the app. I want to frame it all in a rounded rectangle, as if it's in a button. Anyone know of sample code to do that?
Do you need to create small regions in each corner and draw quarter circles? Or is there a simple API to do that?
Or would you say I should just draw directly on an already rounded button?