I have an app that based on Tab Bar combined with navigation bar.
In the navigation bar i have a button that takes me to another page which I want to hide the tab bar. When i trying to back to the main view through a button (Not back bar button, regular one) i can't bring the Tab Bar back. 
I did try : `xxxxx.hidesBottomBarWhenPushed =NO;`

Here is some of my code:

In main view:

In `viewDidLoad:`

```
 UIBarButtonItem *flipButton = [[UIBarButtonItem alloc]
                               initWithTitle:buttonTitle
                               style:UIBarButtonItemStylePlain
                               target:self
                               action:@selector(goToCreateEvent)]; 

-(void)goToCreateEvent{
     UIViewController *targetViewController;
     NSString *viewControllerName = @"CreateAnEventViewController";
     targetViewController = [[NSClassFromString(viewControllerName) alloc]   initWithNibName:viewControllerName bundle:nil];
     targetViewController.hidesBottomBarWhenPushed =YES; //Hides the tab bar
     [self.navigationController pushViewController:targetViewController animated:YES];

 }

```

In the other view:

```
-(IBAction)save:(id)sender
 {
    [summary resignFirstResponder];
    [agenda resignFirstResponder];

    FeedViewController *aboutViewCont = [[FeedViewController alloc] init];

    aboutViewCont.hidesBottomBarWhenPushed =NO; //trying to bring back the tab bar

    [[self navigationController] pushViewController:aboutViewCont animated:NO];

  }

```

Thanks!
Yossi