Can anybody give me the code of titleforheaderinsection method's code to make my table devided in two section [closed]
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this questionhiiiii,
i am a beginner for iphone and i want to make so much experience with iphone sdk codding...
Can anybody give me the code of titleforheaderinsection method's code to make my table devided in two section ...
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
{
return [NSString stringWithFormat:@"I am a title header: section %d", section];
}
From apple site: http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UITableViewDatasource_Protocol/Reference/Reference.html
精彩评论