나는 이미지와 함께 UItable보기에서 결과를 표시하는 다음과 같은 코드가 있습니다.하나의 이미지 또는 썸네일에 대한 테이블보기
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
//create a cell
UITableViewCell *cell = [[UITableViewCell alloc]
initWithStyle:UITableViewCellStyleDefault
reuseIdentifier:@"cell"];
// fill it with contnets
NSDictionary *exercise = [exercises objectAtIndex:indexPath.row];
cell.textLabel.text = [exercise valueForKey:@"player"];
UIImage *image = [UIImage imageNamed:@"iphone.gif"];
cell.imageView.image = image;
cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;
// return it
return cell;
}
예를 들어 모든 셀에 대해 하나의 이미지를 표시 할 수있는 옵션이 있습니다. 왼쪽에는 1 개의 이미지가 표시되고 오른쪽에는 3 개의 행이 표시됩니다. 나는 새로운 입찰가이며 여전히 아이폰 코딩에 대한 열망을 가지고있다. 우리가 어떻게 할 수 있는지 제안 해주세요. 고맙습니다.
확인이를 .... http://stackoverflow.com/q/7346902/919049 – Mohammad
당신이 3 개 개의 셀 중 셀 당 하나 개의 이미지 또는 하나 개의 이미지를 추가 하시겠습니까? –