2017-12-11 7 views
0

MKAnnotation에 부합하는 PFObject의 하위 클래스가 있는데,지도 뷰에 주석을 추가하고 주석을 드래그하기 시작하면 좋지만 드래그를 중지하자마자 앱이 다음과 같은 예외 : 나는 [PFObjectSubclassingController _forwardGetterInvocation:forProperty:withObject:]에 이르게 아래 [PFObject forwardInvocation]에 충돌을 추적했지만, 나는 forwardInvocation를 호출 무엇을 알아낼 수 없습니다PFObject가 MKAnnotation으로 인해 NSInternalInconsistencyException이 발생합니다.

NSInternalInconsistencyException', reason: 'Getter should take no arguments! 

.

누구든지 아이디어가 있습니까?

답변

0

문제가 발견되었습니다 ... setCoordinate:(CLLocationCoordinate2D)newCoordinate 메서드를 사용자 정의 클래스에 선언해야했습니다. 오케이.

관련 문제