[iOS] swipe로 tableViewcell Delete할때 죽는 문제 (UITableViewCellEditingStyleDelete)

2015. 3. 12. 12:50·Mobile Application/iOS
반응형

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
'Mobile Application/iOS' 카테고리의 다른 글
  • Cocoa Pod 정리
  • Cocoa (touch) Framework
  • [Xcode] NSLog Debug모드에서만 출력 (한번만 명령어)
  • [Xcode6] arm64에서 Build할때 Value 오류
Y freesia
Y freesia
  • Y freesia
    꿈꾸는 개발자
    Y freesia
  • 전체
    오늘
    어제
    • 분류 전체보기 (44)
      • Language (6)
        • Swift (1)
        • Kotlin (3)
        • Objective-C (0)
        • Java (2)
        • C++ (0)
      • Mobile Application (15)
        • iOS (7)
        • Android (7)
        • Flutter (1)
      • Web (7)
        • WORDPRESS (0)
        • HTML+CSS+JS (6)
        • REACT (0)
      • Linux (1)
      • Function (1)
      • Reviews (9)
      • Qualification (1)
      • Cooking (3)
  • 블로그 메뉴

    • 홈
  • 공지사항

  • hELLO· Designed By정상우.v4.10.3
Y freesia
[iOS] swipe로 tableViewcell Delete할때 죽는 문제 (UITableViewCellEditingStyleDelete)
상단으로

티스토리툴바