Group Group Group Group Group Group Group Group Group

Use of unresolved identifier ‘performSegue’ in Tableviewcell

Hi,

I have table view in main table view. i want go details view when click sub tableview’s cell and put didSelectRowAt function and i prepare “goDetail segue”. However when i wrote that codes;

 func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        _selectedVideo = self._videos[indexPath.row].id
        performSegue(withIdentifier: "goVideoDetails", sender: nil)
    }
    func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        
        if segue.identifier == "goVideoDetails" {
            let destinationVC = segue.destination as! SpeechDetails
            destinationVC._chosenVideo = _selectedVideo
        }
    }

performSegue(withIdentifier: “goVideoDetails”, sender: nil) // Use of unresolved identifier 'performSegue’

I knew reason because perform segue can’t use in table view cell but i dont have any option. i should use that table in main table. Have i got any option for go detail page? I need helps or hits.

@csayin Do you still have issues with this?

Have you created a segue and named it goVideoDetails? or is that a view controller?
just asking so that if that is the obvious problem you can solve it. In such cases, posting code always helps because it could be some setting or missing naming something that could also cause this issue.

cheers,