http://iphonedevelopment.blogspot.com/
Creating Transparent UIViews - a Rounded Rect View
I recently needed a view that had the shape of a rounded rectangle. Drawing a rounded rect using Core Graphics isn't particularly hard. As a matter of fact, the QuartzDemo sample code shows one way to do it. So, I dutifully created the view to draw a rounded rect. No matter what I did, however, it drew white all the way to the boundary of the view. My first version of the rounded rectangle view came out decidedly non-rounded.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment