2009-02-26 13 views

答えて

1

私はちょうどそれを働いた:

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

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

青い矢印は、各行の右側に表示されます。

4

多くのアプリで使用されているデフォルトの矢印(シェブロン)を意味しますか?

UITableViewCell *myCell = ...; //GET a cell from somewhere. 
myCell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; 
関連する問題