storyboard里面的segue identifier是 segueForInfrmation代码是self.performSegueWithIdentifier("segueForInfrmation", sender: indexPath.row)
所以两个segue应该没写错,是一样的。而且也都确定设置了在这个工程的别的视图也用到了segue 都可以跳转没有问题 但是就是这个,提示has no segue with identifier。求大神解答一下~
认证0级讲师
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
indexPath.row will be repeated when section is not 1
has no segue with identifierThat is, the current viewcontroller does not have a segue with identifier segueForInfrmation, so you have to check it carefully
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
indexPath.row will be repeated when section is not 1
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