uitabbar template app help

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

  1. chhoda macrumors 6502

    Joined:
    Oct 25, 2008
    #1
    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 ?

    --CH
     
  2. ghayenga macrumors regular

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

Share This Page