Hi I am writing a program and I ran into a problem. I have 4 view controllers. Vc1, Vc2, and Vc3 modal segue to Vc4. I was wondering how to find out which View controller segued to Vc4. Any help will be appreciated.
The presentingViewController relationship should be setup between the 2 view controllers automatically so you just need to query the property from the presented view controller.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more