반응형
UITableViewCellEditingStyleDelete모드에서 swipe로 cell을 삭제할때 간헐적으로 죽는 문제
-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
{
....
....
....
dispatch_async(dispatch_get_main_queue(), ^{
[tableView reloadData];
});
}
thread로 처리.
반응형
'Mobile Application > iOS' 카테고리의 다른 글
error: sdk does not contain 'libarclite' at the path (1) | 2024.01.25 |
---|---|
Cocoa Pod 정리 (0) | 2024.01.24 |
Cocoa (touch) Framework (0) | 2022.08.26 |
[Xcode] NSLog Debug모드에서만 출력 (한번만 명령어) (0) | 2015.05.11 |
[Xcode6] arm64에서 Build할때 Value 오류 (0) | 2015.03.18 |