is there a way to identify the segue identfier used to navigate, inside the destination viewcontroller.
Share
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.
Well in that case in the viewController you are coming from override prepareForSegue: and pass some data in to the destination viewController that will allow it to decide what specific code to run.
the in viewDidLoad of the destination check the value of yourData and execute your custom code