开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜