I have an iPad app using XCode 4.6, Storyboards, iOS 6.2. I looked at SO and Google, but nothing about when to send the message to the button.
I am trying to save some data to CoreData when the user leaves a "scene" but it's not working.
Here is the code:
-(void) viewWillDisappear:(BOOL)animated {
[bSavePreferences sendActionsForControlEvents:UIControlEventTouchUpInside];
}
-bSavePreferences is in the same class as viewWillDisappear, but it never gets called. Why?
UPDATE: I should have mentioned that I am using a UITabBarController to control which page is selected.