开发者

iphone uitableview set description by code

开发者 https://www.devze.com 2023-01-11 07:36 出处:网络
I have my uitableview created with grouped style.. I wish from my code set the description for the se开发者_开发问答ctions of my table..

I have my uitableview created with grouped style..

I wish from my code set the description for the se开发者_开发问答ctions of my table..

thanks!


You need to elaborate on your question with more specifics, but I suggest you start by looking at the following table delegate method:

- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
    return <sectionName for section>;
}

Replace with code to access the proper name for the section.

0

精彩评论

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