ios - App crashes on segue from UITableViewController -
i have uitableviewcontroller
(tvc) embedded in navigation controller. tvc has 2 static cells, each corresponding new uitableviewcontroller
. i'm dragging cells next view controllers , naming segues. not using segue code.
the segue tvc first uitableviewcontroller
works perfectly. segue tvc second 1 crashes upon selecting row. never makes segue. 2 child table view controllers identical, , i've checked every storyboard setting make sure they're same.
is need handling in code? if so, why?
edit: i'm getting *** terminating app due uncaught exception 'nsunknownkeyexception', reason: '[<app.fromfbviewcontroller 0x12650bdb0> setvalue:forundefinedkey:]: class not key value coding-compliant key tableview.'
, libc++abi.dylib: terminating uncaught exception of type nsexception.
i had similar problem tableviewcontroller each cell having segue going different screen. problem turned out tableviewcontroller call 1 segue worked fine cell corresponded not of others.
i ended switching number of buttons looked cells attached scrollview.
Comments
Post a Comment