Custom view that sits on top of a UIImageView? Implement -drawRect: and a progress property and you're done.
On May 26, 2011, at 11:21 AM, Alex Kac wrote: > I'm not sure what the best way to tackle this is... so I thought I'd ask > here. I have an image with a circular button inside of it. I'd like to > dynamically fill this button in an arc to show "progress" much like how when > you are on iTunes Store on an iOS and its playing the preview its animating > filling the circle in a sweep of an arc. Mine doesn't need to animate however. > > So I have the image, and I suppose I can draw that image to a context and > then draw an arc on that image, and then make another image out of it. That > seems like it would get slow if I needed to do that a lot. Any suggestions? I > also wouldn't mind any links that might show similar code. This is for iOS. I > tried searching Google, but my GoogleFu is not showing anything, probably due > to me not using the right terms. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com