Intercept back button on uinavigationcontroller?

Posted by cannyboy on Stack Overflow See other posts from Stack Overflow or by cannyboy
Published on 2010-05-25T19:51:00Z Indexed on 2010/05/25 20:01 UTC
Read the original article Hit count: 470

A form is pushed onto the view. The form has several required fields. Also the form needs to be validated. I want to intercept the back button's click to check if the fields have been filled in, and validate the form. How would I intercept the button's click, and make sure it doesn't pop to the previous screen?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c