Say I have a custom container view controller (MainViewController) where I do something like this:
- (void)viewDidLoad
{
[super viewDidLoad];
There's another way too...
Every view controller has a parentViewController property so using that you can do this...
In MainViewController define a method for the action you want to perform...
- (void)someMethod:(BOOL)someParam;
Then in HomeViewController you can do...
MainViewController* parent = (MainViewController*)[self parentViewController];
[parent someMethod:paramValue];
HTH :)