Hi, all you would need to do is perform the segues programatically. Within your code, have an if statement that check if a certain condition is met. If it is, perform the one segue. If it isn’t, perform the other one:)
You easily have to click on the ViewController where your Button is located. On top you’ll find three round Buttons named: “ViewController”, “First Responder” & “Exit”. Connect the “ViewController” Button with the two following ViewControllers where you want your own (custom) Button to go to. Then you simply name the two Segue’s (give them two different identifiers) and then you use an if-statement to check which segue your button has to use (with the identifiers you have set).