enter picture description right here enter picture description right here
enter picture description right here
1.)
- (void)applicationDidFinishLaunching:(UIApplication *)software
[self.window setRootViewController:navigationController];
2.)
on backside toolbar button click on in view pushing second uinavigationconttroller:
[self.navigationController pushViewController:cnController animated:YES];
3.)
Loading of UIPageViewController in UINNavigationController
@interface SwipeBetweenViewControllers : UINavigationController <UIPageViewControllerDelegate,UIPageViewControllerDataSource,UIScrollViewDelegate>
4.) on backside toolbar button click on in view:
SampleViewController *viewController = [[SampleViewController alloc] initWithStyle:UITableViewStyleGrouped];
viewController.mannequin = settingsModel;
viewController.navigationItem.title = @”Settings”;
[viewController willMoveToParentViewController:self];
//[[self navigationController] setNavigationBarHidden:YES animated:YES];
[self.view addSubview:viewController.view];
[self addChildViewController: viewController];
[viewController didMoveToParentViewController:self];
[self.navigationController pushViewController:viewController animated:YES];
5.) It reveals 2 navigation controllers
I want to cover higher one navigationconttroller
after I difficulty following
[[self navigationController] setNavigationBarHidden:YES animated:YES];
It hides UIPageviewcontroller navigation and return to unique view.
I attempted
NSMutableArray *allControllers = [self.navigationController.viewControllers mutableCopy];
[allControllers removeObjectAtIndex:allControllers.count -1];
and in addition
for (UIViewController *controller in self.navigationController.viewControllers)
{
if ([controller isKindOfClass:[SampleViewController class]])
{
[[self navigationController] setNavigationBarHidden:YES animated:YES];
}
}
The best way to disguise particular unique navigation controller