UITableViewCellAccessoryType

UITableViewCellAccessoryDisclosureIndicator

Controllerのソースで下記のようにするとセルの右側に>アイコンが表示される。

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


UITableViewCellAccessoryNone

Controllerのソースで下記のようにするとセルの右側のアイコンは表示されなくなる。

- (UITableViewCellAccessoryType)tableView:(UITableView *)tv accessoryTypeForRowWithIndexPath:(NSIndexPath *)indexPath {
    NSLog(@"MasterViewController#tableView:(UITableView *)tv accessoryTypeForRowWithIndexPath:(NSIndexPath *)indexPath") ;
    
	return UITableViewCellAccessoryNone;
}


UITableViewCellAccessoryDetailDisclosureButton

Controllerのソースで下記のようにするとセルの右側にまるい>アイコンが表示される。

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


UITableViewCellAccessoryCheckmark

Controllerのソースで下記のようにするとセルの右側にチェックマークアイコンが表示される。

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