Does anyone know how to implement an action badge, like the ones seen below with the price tags in them. The App Store has those too.
alt text http://m.macupdate.com/images/screens/uploaded/30815_scr.png
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easiest way is to set the
accessoryViewof a standardUITableViewCellto aUIView. You can just make them be standardUIButtons, set their background color and the label color and font.If they’re not meant to be interactive, then you can use a container
UIViewwith aUIImageViewin the background and aUILabelin the front added as subviews.If you want to get fancy with it you’ll have to subclass
UITableViewCelland lay out the various bits yourself. It’s not that difficult. TheTableViewSuitesample code shows you how.