iphone uitableview set description by code
-
28-09-2019 - |
문제
I have my uitableview created with grouped style..
I wish from my code set the description for the sections 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.
제휴하지 않습니다 StackOverflow