So laden Sie UIViewController neu

Ich möchte alle im Tabbar-Controller (UIViewController) enthaltenen Ansichten neu laden. Nach der Suche habe ich festgestellt, dass ich die setNeedsDisplay-Methode anwenden muss, aber nicht feststellen kann, wo ich sie anwenden soll. Andere Alternativen sind ebenfalls willkommen

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    .....
    .....

    self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
    [self customToolbar];
    [self.window addSubview:tabBarController.view];
    [self.window makeKeyAndVisible];    
    return YES;
}
-(void)customToolbar
{
    //Declared view controllers and their Navigation Controller
    .....

    //Declared tab bar items
    .....    

    tabBarController = [[GTabBar alloc] initWithTabViewControllers:viewControllersArray tabItems:tabItemsArray initialTab:1];
}

Antworten auf die Frage(1)

Ihre Antwort auf die Frage