I want to call class name TabViewController from class name "ROOTVIEWCONTROLLER" I want to do this because I want to make TabBarController dynamically. So I want to handle all tab related activity in class name TabViewController So f开发者_如何学Pythonrom rootviewcontroller I want to access method of TabViewController which handles the tab. Can any one tell me how it can be done. And where I write the code in rootviewcontroller to do this
create object of tabviewcontroller in the rootviewcontroller and push the tabviewcontroller .
One option is to use the self.tabBarController if you are just trying to get an instance of the tabbarcontroller.
精彩评论