I want to put another cell text on the right side of UITableViewCell in iOS such as the following picture < / P>
How can I do this ?
Thanks for any help.
UITableViewCell has a property, detailTextLabel , which you can inquire about Just specify the text that labels match the text label
ie.
cell.textLabel.text = @ "Google"; Cell.detailTextLabel.text = @ "tomorrow"; Small "arrows", in addition, is a helpful view on the cell
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
No comments:
Post a Comment