[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
    꿈꾸는 개발자
    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)

개인정보

  • 티스토리 홈
  • 포럼
  • 로그인
상단으로

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.