Should Xcode Storyboard support segues from a UITableView with 'dynamic prototype' cells?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 16:07:15

No, you don't have to manually push the child controller. Did you connect a segue in your storyboard file from the dynamic cell to the child controller? Also did you give your dynamic cells an identifier? You can also check out this tutorial:

http://maniacdev.com/ios-5-sdk-tutorial-and-guide/xcode-4-storyboard/

Scroll down to "Beginning iOS storyboards" and have a look at part 1 and part 2. I found them most helpful.

slapslap

Use prepareForSugue: instead, [table indexPathForSelectedRow prepareForSugue will be called before the next scene's loadView.

Maybe you forgot to set the reuse identifier of Table View Cell.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!