how to call perform segue from another class ios code example
Example: perform segue swift
// replace "example" with your segue identifier
self.performSegue(withIdentifier: “example”, sender: self)
// replace "example" with your segue identifier
self.performSegue(withIdentifier: “example”, sender: self)