Tag: Swift Uistoryboardsegue

'Receiver(<ViewController>)没有标识符“addSegue”

我有一个导航控制器之间有一个segue链接,称为“addSegue”。 当我点击tableView单元格,虽然应用程序崩溃,我得到下面的错误: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver (<MSAddFriendsViewController: 0x98cc340>) has no segue with identifier 'addSegue' 我不认为我的代码有任何问题。 这里是我有showSegueWithIdentifier行的showSegueWithIdentifier : – (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { NSMutableSet *selectedUsers = [NSMutableSet set]; [self.tableView deselectRowAtIndexPath:indexPath animated:NO]; UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; cell.accessoryType = UITableViewCellAccessoryCheckmark; PFRelation *friendsRelation = [self.currentUser relationforKey:@"friendsRelation"]; PFUser *user = [self.allUsers objectAtIndex:indexPath.row]; [friendsRelation […]