UITable ビューに問題があります。私はこのようなグループ化されたスタイルで UITableView とカスタムセルビューを使用しています
私の問題は、このように表示されるテーブルビューを編集するときです
しかし、このようにテーブルビューを編集している間、サムネイル画像を非表示にする必要があります
テーブルビューの編集中に試し[cell.imageviews setHidden:YES]
ましたが、うまくいきません 質問がスタックオーバーフローにある場合は、誰か助けてください 参照リンクまたはその他の提案を教えてください。
** アップデート**
ここで cellForRowAtIndexPath の私のコード
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CustomCellidentifier = @"IListCell";
IListCell *cell = (IListCell *)[tableView dequeueReusableCellWithIdentifier:CustomCellidentifier];
if(cell == nil) {
NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"IListCell" owner:self options:nil];
cell = [nib objectAtIndex:0];
}
if (self.tableview.isEditing) {
[cell.photoImageView setHidden:YES];
}
cell.titleTextField.text=[NSString stringWithFormat:@"%@",[artAlbumList objectAtIndex:indexPath.row]];
return cell;
}
IListCell XIB ファイルを使用して作成されたカスタム セルのサブクラスUITableViewCelll
です。これは私の xib ファイルです