  return cell; }  - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {      UITableViewCell *selectedCell=[tableView cellForRowAtIndexPath:indexPath];     NSLog(@"%@",selectedCell.textLabel.text);      if ([ImageViewC isEqualToString:@"0"]) {          [self.but0 setTitle:[NSString stringWithFormat:@"%@",selectedCell.textLabel.text] forState:UIControlStateNormal];         if ([selectedCell.textLabel.text isEqualToString:@"Pakistan"]) {              data0=[[NSArray alloc]initWithArray:Pak_city];          }else if ([selectedCell.textLabel.text isEqualToString:@"UAE"]){              data0=[[NSArray alloc]initWithArray:UAE_city];          }else{              data0=[[NSArray alloc]initWithArray:Oman_city];          }     } 