How can we display #of items in a category displayed in a particular UITableViewCell?
For example, in iPhone mail app, they show # of new emails in each account..
Thanks
Jignesh
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.
Simply customize your
UITableViewCell(see here) and add a customUILabelas a subview of your cell so it displays on the right.If you want to make this UILabel to look like the ones in Mail, this is quite simple, as you may try sthg like this:
(Note: to use the layer property of UILabel, don’t forget to add the QuartzCore framework and
#import <QuartzCore/QuartzCore.h>)