So here's the problem,
I've got a tabbar application with some tabs, one of them is called 'contacts' (which is a UIViewController).
When the app just starts the function 'didFinishLaunchingWithOptions:' in the appDelegate will be activated.
and offcourse the 'Contacts viewWillAppear:'
Now, at this moment I can update the table within the Contacts view.
No problem there,
Little note, the 'contacts tab' will be shown by default, the appdelegate has no reference to it.
the problem however is, when I dismiss the app, and bring it back to the foreground, no method will be called in the contacts class...
I tried: - (id)initWithNibName:
- (void)viewDidLoad
-(void)viewWillAppear:
But non of 'm get's called.
Which means, i can't update the table when a certain conditions is true.
Is there any way... either by making a temporarily reference to the Contacts tab in appDelegate , or sending a message (calling a method) to 'Contacts' directly, so i can update the table?
I've got the idea that i'm explaining this very poorly... so feel free to ask for more information
in short:
How to get a temporarily reference to the contacts-tab-view