0

How can I switch to a new view from tabBarController and navigationController and that there was no tabBar and navigationBar in a new view? And I need working swipe right for back old view.

self.navigationController?.pushViewController(view, animated: true)
rmaddy
  • 314,917
  • 42
  • 532
  • 579
Pavel Taran
  • 37
  • 1
  • 7

2 Answers2

0

You can hide in new view navigation bar in viewWillAppear method i.e. for navigationBar simply call [[self navigationController] setNavigationBarHidden:YES animated:YES];

0
self.navigationController.navigationBarHidden = YES;
self.tabBarController.tabBar.hidden = YES;
Merlin
  • 213
  • 1
  • 9