How to Control Page Transitions using shouldPerformSegue in Swift?

Learn iOS from scratch and challenge to create 100 apps —BMI Calculator Check App