I want to make tableView with multiple section but i do not want to use dictionary i have two arrays i want that first array should be loaded in first section and second in
Change this if (section==0)
if (section==0)
to if (indexPath.section==0)
if (indexPath.section==0)
You have to implement this function :
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { if(section == 0) return arrSection1.count; else return arrSection2.count; }