I am currently switching uitabbar selection programmatically using
[myTabBarController setSelectedIndex:index]
but at the same time I want to send some info to the root controller of the newly selected uitabbar item. How can I do that?
To be specific I have a search box in home page and when user types in search string and clicks search I want the search results to appear under another uitabbar item ie search. How can I send the search string to the new root view controller?
from here on you can do whatever you want to
newlySelectedViewController.