uitabbar template app help

Discussion in 'iOS Programming' started by chhoda, Sep 21, 2009.

  1. chhoda macrumors 6502

    Oct 25, 2008
    Hi ALl,
    I created a tab bar template app from xcode. Now after going a few screens and all, I need to access FirstViewController which is not instantiated anywhere in the code. How can I access the instance of firstViewController from other classes ?

  2. ghayenga macrumors regular

    Jun 18, 2008
    [[tabBarControllerInstance viewControllers] objectAtIndex:0];

Share This Page