2017-09-24 12 views
1

이 문제는 ios11에서 나타났습니다. 테이블 뷰가있는 일반 화면이 있으며 셀 사용자를 두드리는 것은 세부 화면으로 이동합니다. 이 화면에는 제스처 인식기가 없습니다. 다음 단계 : 1) 테이블 뷰 으로이 화면으로 이동합니다. 2) 셀을 탭하여 상세 화면으로 이동합니다. 3) 다음을 다시 누르십시오. 4) 아무 셀에서나 다시 시도하십시오. 그래서 didselectrowatindexpath는 처음에만 호출합니다 ! 추가 조사를 통해 결과가 나타났습니다. 두 손가락으로 동시에 셀을 탭하면 didselectrowatindexpath가 호출됩니다 !!! 나는 이것을 설명 할 수 없다. 동일한 빌드가 ios10에서 잘 작동합니다 .. 제안이나 다른 사람이 같은 문제가 있습니까?iOS 11 버그, didselectrowatindexpath가 두 손가락으로 동시에 셀을 탭하는 것을 의미 함

public func tableView(_ tableView: UITableView, didSelectRowAt   indexPath: IndexPath) { 
let timeReservations = currentReservations?.reservationsByTypes[indexPath.section] 
let reservation = timeReservations?.reservations[indexPath.row] 
let reservationMainVC = self.storyboard?.instantiateViewController(withIdentifier: 
    Globals.ReservationMainVCConstants.identifier) as! ReservationMainViewController 

reservationMainVC.reservationId = reservation?.id 
self.navigationController?.pushViewController(reservationMainVC, animated: true) 
} 
+0

어떤 관련을 보여주십시오 https://github.com/SwipeCellKit/SwipeCellKit/issues/92

이이

거치대에 포드 파일에서 대체 해결하기 위해이 문제에 대한 링크, 'SwipeCellKit' 암호. – the4kman

+0

행의 선택을 취소 하시겠습니까? 당신이 선택을 취소하지 않으면, 그것은 여전히 ​​선택되고 다시 선택할 수 없습니다 – Paulw11

+0

@ Paulw11이 시도, 아니 성공 – honcharenko13

답변

1

이 동작의 이유가 발견되었습니다. 나는 창조 스 와이프 동작을 위해 포드 SwipeCellKit을 사용한다. 그것은 tableview에 대한 모든 작업을 차단합니다. 자식 => 'https://github.com/SwipeCellKit/SwipeCellKit.git': 지점 => '마스터'

+0

글쎄, 나는 SwipeCellKit을 사용하고 있습니다. 같은 해결책을 얻었습니까, 알려주세요. – Vinaykrishnan

+0

@Vinaykrishnan pls 업데이트 된 답변보기 – honcharenko13