I got array which has one,two,three,four,five. values.. in my array....says countListArray.
I need to display this countlistarray has titleForHeaderInSection....
for each section i need to display 6 cell...
You need to implement table view data source and delegate methods.
for name of section use this
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
return [yourArray objectAtIndex:section];
}
You just need to handle titleForRow:inSection message. Or, do you have any problems with that?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.