tableView:canEditRowAtIndexPath:
編集可能かどうか。表示されきったときに呼び出される。
-(BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
解説
編集可能かどうか。表示されきったときに呼び出される。
返り値
( BOOL )
引数
( UITableView * )tableView
( NSIndexPath * )indexPath
フレームワーク
UIKit
クラス
UITableViewDataSource
Instance Methods
使用可能
iPhone2.0
参照
例文
//編集可能かどうか。表示されきったときに呼び出される。 - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath { NSLog(@"canEditRowAtIndexPath %u",[indexPath indexAtPosition:1]); return YES; }