I can't connect exit object

When I tried to connect a button to the exit object at the top of the view controller, I found that it could not be connected,Why?

My Xode version is 11.2.1

  • I have the same issue, frequently, and I can not seem to figure out why it (sometimes) happens. I've got the unwind segue set up, but I can not make the connection at the top of the view controller. Very frustrating. Did you find an answer?

    I'm on Xcode 13.1

Add a Comment

Replies

This connection is activated only if you have defined at least one unwindSegue.


Add in any controller


    @IBAction func testSegue(_ sender: UIStoryboardSegue) {
       
    }


Then you will be able to connect to exit (of course you need to connect to an unwind that is relevant for this connection).

@phoenix xu Did you make it work at the end ?

Was the problem solved ? It's good practice to feedback and to close the thread if problem solved.