views:

23

answers:

1

Hello,

I have a UINavigationController with two UITableViewControllers pushed onto its stack. Is there any way to reference a property on the first TableViewController that is under the second? I would like to do this in the second controller's viewWillAppear method.

Thank you for any help you can give....

A: 

I figured it out it is...

[[[[self navigationController] viewControllers] objectAtIndex:0] MyProperty];

index could be any number on the stack... Mine happens to be the first one so its index is 0...

Michael

related questions