I have an iPhone app which has a tabBarController as the root view controller in mainwindow.xib.
One of the tabs has a class of UINavigationController and its View is loaded from an external Nib file currently called secondView.xib
How can I get a UIBarButtonItem which is on the NavigationController in the mainwindow.xib file to trigger methods in its child view, secondView.h/m view controller?
Actually, all I needed to do was double click the subview within the navigation controller so it had focus, then ctl-drag it to the button I had placed on the bar and I could select the method from the drop down list. Apologies if I wasted anyones time, thanks for the help anyway. Both helped me look harder at what I was doing.