ios - 程序崩溃 提示 has no segue with identifier
PHP中文网
PHP中文网 2017-04-17 17:57:57
0
5
368

storyboard里面的segue identifier是 segueForInfrmation
代码是self.performSegueWithIdentifier("segueForInfrmation", sender: indexPath.row)

所以两个segue应该没写错,是一样的。
而且也都确定设置了
在这个工程的别的视图也用到了segue 都可以跳转没有问题
但是就是这个,提示has no segue with identifier。求大神解答一下~

PHP中文网
PHP中文网

认证0级讲师

reply all(5)
左手右手慢动作

What are the considerations when the sender passes indexPath.row?

伊谢尔伦

There is no jump to change the identifier, carefully check whether the segue identifier in your storyboard is consistent with the one in the code

巴扎黑

I’m sure I learned the segue identifier wrong

Peter_Zhu

indexPath.row will be repeated when section is not 1

PHPzhong

has no segue with identifier
That is, the current viewcontroller does not have a segue with identifier segueForInfrmation, so you have to check it carefully

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template