i hv added toolbar with navigation controller. when i enter details view i want to remove the toolbar
i tried doing this bt dint worked
Also tried,
toolbar.hidden=true;
but where should i write,
toolbar.hidden=false;
which will reactivate the toolbar once i exit the details view.
And 3rd solution also didn't worked the below code hides the tabbar control and not the toolbar in the detailview
Code:
[toolbar setItems:[NSArray arrayWithObjects:btnPrev,btnNext,btnPage,nil]];
[self.navigationController.view addSubview:toolbar];
i tried doing this bt dint worked
Code:
self.navigationController.view removeFromSuperView:toolbar];
Also tried,
toolbar.hidden=true;
but where should i write,
toolbar.hidden=false;
which will reactivate the toolbar once i exit the details view.
And 3rd solution also didn't worked the below code hides the tabbar control and not the toolbar in the detailview
Code:
MyDetailViewController *detailView = [[MYDetailViewController alloc] initWithNibName:@"DetailView" bundle:nil];
detailView.hidesBottomBarWhenPushed=TRUE;
[self.navigationController pushViewController:detailView animated:YES];