[iOS] 에러 - setValue:forUndefinedKey:]:

·2022년 7월 25일
0

iOS 정리

목록 보기
1/3

"[<Scene_Trans01.SecondViewController 0x7fbc71719d90> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key dismiss."

this class is not key value coding-compliant for the key dismiss."

= 이 클래스는 내가 생성한 키 dismiss에 대한 적합한 value가 아니다.

아마 Outlets 변수를 실수로 만들고 코드 상에서만 지워서 이런 문제가 생긴 것 같다. 사용하지 않으면 연결까지 해제해 주어야 한다.

이렇게 사용하지 않거나 이름이 변경된 Outlet이 있을 경우 Connections Inspector 에서 꼭 수정해야 한다.

profile
SOOP

0개의 댓글