save data when back button is tapped

Posted by iamthewit on Stack Overflow See other posts from Stack Overflow or by iamthewit
Published on 2010-05-18T16:09:11Z Indexed on 2010/05/18 16:10 UTC
Read the original article Hit count: 202

Hi Al,

I have a simple navigation based app which has a bunch fo forms in it, I have a method connected to a button that saves data when the button is tapped but I was wondering if I could call the same method when the back button is tapped in the navigation? Just incase a user fails to use the save button. If it is possible, how would I go about it?

thanks in advance!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk