hachinoBlog

hachinobuのエンジニアライフ

2013-05-24から1日間の記事一覧

TableViewで特定のセルだけ編集モードにしない方法

canMoveRowAtIndexPathメソッドでセルを特定して判定してやる - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath{ //セルの取得 UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; if (取得…