When I transition from a table view cell to another view controller, I can connect it on storyboard. However, this doesn't allow me to use didSelectRowAtIndexPath:
method even when I want to use selected row and indexpath logic or pass a value between the two view controlelrs to make a transition.
But when I disable the storyboard segue transition, I cannot set segue identifier and hence cannot call performSegueWithIndentifier:
method from within the above method.
So how can I use didSelectRowAtIndexPath:
and still perform a segue? If I set my storyboard segue and at the same time define didSelectRowAtIndexPath:
, my app crashes after I return back to the original view controller.
只需从viewControler1的viewControler按钮(底部的黄色按钮)到viewControler2中的某个位置创建序列
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.