Use NotificationCenter
. Ugly way, but task has to be done :)
Have this at the place when you want viewdidload to load again...
[[NSNotificationCenter defaultCenter] postNotificationName:@"ContactListDisappeared" object:self];
in viewWillAppear or viewDidAppear, have
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(doTheTaskHere:) name:@"ContactListDisappeared" object:nil];
Set action for this...
- (void)doTheTaskHere:(NSNotification *)notification {
// call view did load again...
[self viewDidLoad];
}
I hope this is what you want.
Today only I wanted something like this and I achieved this way.