Forum Xamarin.iOS
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

how to prevent segue in PrepareForSegue method

how to prevent segue in PrepareForSegue method


  • GasaiYunoGasaiYuno CNMember

    I want to do validation on my textfield and if validation is failed I have to stop segue and throw an alert.

  • MichaelBluesteinMichaelBluestein USInsider, University, Developer Group Leader ✭✭✭

    Override ShouldPerformSegue and return false to cancel the segue.

Sign In or Register to comment.