문제

What's the best way to implement showing a number in a small circle on a UITableView row, much like is seen on the 'Inbox' row in the image below?

alt text http://www.madebyfiga.com/images/misc/iPhoneNumberInCircle.jpg

Thanks,

도움이 되었습니까?

해결책

You can add a button in a UITableViewCell, style it and change it's text for every row inside cellForRowAtIndexPath method. You can also hide it for rows where you don't want it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top