Unwind Segue Xcode 6.1 Swift

I know this was a problem in beta versions of Xcode and I read that it was fixed in Xcode 6 GM, but I am in trouble now. I create an unwinding segment, but it does not relax properly. I have both views set to their own custom view controller, I have an unwind function in the view controller that I want to relax on, and this is the code I am using:

@IBAction func unwindToObjectives(segue: UIStoryboardSegue) {

}

      

Can anyone help explain what I am doing wrong? I know there is work, but I try to avoid using it. Also, I apologize for asking this question, I am extremely new to Swift and iOS development.

+3


source to share


1 answer


I fixed the problem. I ended up just redoing the custom TVC (with segue), removed the VC and changed the segue to modal and it works. I don't know how it helped, but it did.



0


source







All Articles