2009-02-26 6 views

Antwort

1

Ich arbeitete es einfach aus:

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

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

Ein blauer Pfeil rechts neben jeder Zeile angezeigt wird.

4

Sie meinen den Standardpfeil (ein Chevron), den viele Apps haben?

UITableViewCell *myCell = ...; //GET a cell from somewhere. 
myCell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; 
Verwandte Themen