开发者

Can anybody give me the code of titleforheaderinsection method's code to make my table devided in two section [closed]

开发者 https://www.devze.com 2023-01-10 06:26 出处:网络
Closed. This question needs details or clar开发者_如何学运维ity. It is not currently accepting answers.
Closed. This question needs details or clar开发者_如何学运维ity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 8 years ago.

Improve this question

hiiiii,

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

0

精彩评论

暂无评论...
验证码 换一张
取 消