There are many ways to do something like this.
- ViewWillDisappear implementation
- ViewWillAppear implementation
- Set up a delegate for your navigation and respond to changes.
- Make your own feedback button that links to your own function.
- Use NSNotification when moving
Any of the above is a good starting place.
source
share