티스토리 뷰

Computer/Android&iOS

NSGenericException

ywlee 2016. 7. 6. 14:04

NSGenericException


Push segues can only be used when the source controller is managed by an instance of UINavigationController



버튼을 눌러 다음 뷰로 넘어가게 하는 코드 작성중 버튼을 눌렀을때 나오는 에러,


이는 버튼을 눌렀을때 화면전환 액션을 'Push' 로 해서 이고..


Push 전환 액션은 UINavigationController 가 지원한다.


내 프로젝트는 UINavigationController 가 없기 때문에 나오는 에러.




프로젝트에 UINavigationController를 추가한다.





공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함