2009-02-26 5 views

Répondre

1

Je viens travaillé dessus:

-(UITableViewCellAccessoryType)tableView:(UITableView *)tableView 
     accessoryTypeForRowWithIndexPath:(NSIndexPath *)indexPath 
{ 
    return UITableViewCellAccessoryDetailDisclosureButton; 
} 

-(void)tableView:(UITableView *)tableView 
accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath 
{ 
    //add action here 
} 

Une flèche bleue apparaîtra à droite de chaque ligne.

4

Vous voulez dire la flèche par défaut (un chevron) que de nombreuses applications ont?

UITableViewCell *myCell = ...; //GET a cell from somewhere. 
myCell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; 
Questions connexes