2010-03-08 10 views

Répondre

15

// Personnaliser l'apparence des cellules de vue de table.

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 
{ 

    static NSString *CellIdentifier = @"Cell"; 
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; 
    if (cell == nil) 
    { 
     cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease]; 
    } 
    [cell setAccessoryType:UITableViewCellAccessoryDetailDisclosureButton]; 
    return cell; 
} 

[setAccessoryType cellulaire: UITableViewCellAccessoryDetailDisclosureButton];

2
cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton; 
Questions connexes