iphone how to customize UITableViewCell cell.textlabel and cell.detailtextlabel programmatically
- by Prerak
Hi!
In my iPhone App In table view cell I want to dispaly one main title and 5 subtitlessubtitles
suppose item1 as main title and item2 , item3 , item4 , item5 and item6 as subtitles,
for that i have saperate two arrays for passing the values in table view cell
one for cell.textLabel.text=
second for cell.detailTextLabel.text
now I want the flexibility to make item2 as maintitle and want to add item1 to subtitle
How can I set title and subtitle programmatically from single array? and any of them as
Please Help and Suggest,
Thank You.