Some validation before page swipe in pageviewController

I make a registration application using PageviewController.
Each page consist text field. Before page swipe, i want to validate text field(not black), if text field blank, it show alert and page not swipe.

Please help, i am new in ios.

Source: ios

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.