How do I debug a segue from TableViewCell in Xcode?
I'm trying to implement a segue from one a table view controller to another using storyboard.
I created a push segue from the source tableview cell to my destination table view controller in storyboard, and gave it an identifier.
When I touch a cell in the source tableview, prepareForSegue is called, but the segue never occurs. However, if I change it to a modal segue it works.
Any ideas how I can debug this to find out why it is failing? There's nothing in the debug log...
That explains it. 'Push' is specific to navigation controllers. The following is taken from the Glossary section of the iOS documentation:
" push segue A segue whose transition effect pushes the new view controller onto a navigation stack of a navigation controller."
链接地址: http://www.djcxy.com/p/61272.html上一篇: 在视图之间传递数据不起作用