I have 2 views connecting to 1 view, 1 view is push and another is modal.
Is it possible to get the segue identifier and perform either dimiss or popview?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t get back to the segue that pushed/presented you unless you store it yourself.
However, you can look at your
presentingViewControllerandnavigationControllerproperties. If you were pushed,presentingViewControlleris nil andnavigationControlleris non-nil. If you were presented,presentingViewControlleris non-nil andnavigationControlleris nil.