Does anyone know if there is a way to determine whether a segue with a particular name exists? Or alternatively, if there’s a way to get a list of all the named segues that iOS knows about
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.
no, your method only detect when a particular segue is fired.
but you can’t test if a segue exist, by another way than try to call it.
it seems that the only way is to use @try @catch :