私は、NSarrayの値を整数に変換して、numberOfRowsInSectionのセクション値を指定したいという点で、グループ化されたテーブルビューベースの作業に取り組んでいますが、次のコードを配置することを期待しています。
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
int sec;
if (section == 0){ sec=6; }
else if(section == 1){ sec=6; }
else if(section == 2){
sec=[[rsvn_detail objectAtIndex:0] objectForKey:@"totalrecord"];
}
return sec;
}
誰かがあなたの提案に感謝してそれを前進させるのを助けます
よろしく、sathish