Swift segue not working?

后端 未结 6 1558
一个人的身影
一个人的身影 2021-01-14 09:50

My Swift segue is not working at all and isn\'t throwing any errors. The breakpoint shows me that the app lands on this line but nothing happens:

self.perfor         


        
6条回答
  •  甜味超标
    2021-01-14 10:42

    You can try this ...

    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?)
        {
        if (segue.identifier == "SignupSegue") {
            if let destination = segue.destination as? SignUpViewController {
             ...
            }
    
        }
    }
    

提交回复
热议问题