ios - Thread 1: signal SIGABRT error on Obj C -


i searched problem on site not solve problem. want ask how can solve this?

i have navigation controller , view controller. add elements on navigation controller, it's working when add viewcontroller , connect navigation controller, see problem. connected them segue , want pass view controller navigation controller's elements. build failed , take error code;

2016-07-11 14:35:38.243 seg[4175:594378] *** terminating app due uncaught exception 'nsgenericexception', reason: 'push segues can used when source controller managed instance of uinavigationcontroller.'   *** first throw call stack: (     0   corefoundation                      0x000000010cd73d85 __exceptionpreprocess + 165      1   libobjc.a.dylib                     0x000000010c7e7deb objc_exception_throw + 48     2   uikit                               0x000000010d8f7ca9 __copy_helper_block_ + 0     3   uikit                               0x000000010d871630 -[uistoryboardseguetemplate _performwithdestinationviewcontroller:sender:] + 460     4   uikit                               0x000000010d871433 -[uistoryboardseguetemplate _perform:] + 82     5   uikit                               0x000000010d8716f7 -[uistoryboardseguetemplate perform:] + 156     6   uikit                               0x000000010d271156 -[uitableview _selectrowatindexpath:animated:scrollposition:notifydelegate:] + 1775     7   uikit                               0x000000010d27141b -[uitableview _userselectrowatpendingselectionindexpath:] + 388     8   uikit                               0x000000010d135f62 _runaftercacommitdeferredblocks + 317     9   uikit                               0x000000010d149e4c _cleanupaftercaflushandrundeferredblocks + 95     10  uikit                               0x000000010d156147 _aftercacommithandler + 90     11  corefoundation                      0x000000010cc98c37 __cfrunloop_is_calling_out_to_an_observer_callback_function__ + 23     12  corefoundation                      0x000000010cc98ba7 __cfrunloopdoobservers + 391     13  corefoundation                      0x000000010cc8e7fb __cfrunlooprun + 1147     14  corefoundation                      0x000000010cc8e0f8 cfrunlooprunspecific + 488     15  graphicsservices                    0x00000001105f3ad2 gseventrunmodal + 161     16  uikit                               0x000000010d129f09 uiapplicationmain + 171     17  seg                                 0x000000010c2e445f main + 111     18  libdyld.dylib                       0x000000010f54d92d start + 1     19  ???                                 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating uncaught exception of type nsexception (lldb)  

my viewcontrollers

embed navigation controller source view controller

  1. select source view controller
  2. go editor--> embed in --> navigation controller.

enter image description here enter image description here enter image description here enter image description here enter image description here


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -