objective c - TabBar back button is not showing in ios app -


I have created a UINavigationBarButton, where I have placed a button called "update". When the update button is clicked, this second view controller. But the problem is not visible in the second view controller tabbar. What am I trying to do when I tap the back button in the second view controller, it should go back to the rootview controller. Here is the code

  - (zero) viewDidoadload {[Super Viewedload]; Self.navigationItem.title = @ "Google"; [Self. NavigationalTimeSatelliteFeedup Supplement Backbutton: Yes]; [Self. Navigation Controller Settlerbar: NO]; UIBarButtonItem * nextView = [[UIBarButtonItem alloc] initWithTitle: @ "Update" style: UIBarButtonSystemItemPlay Target: Self-action: @selector (updateAuthorization)]; Self.navigationItem.rightBarButtonItem = nextView; [See next release]; } - (zero) Update {Second Visual Controller * UpdateView = [[SecondView Controller Alok] initWithNibName: @ "SecondView Controller" bundle: zero]; [Self. Navigation controller present ViewController: updated animated view: yes complete: zero]; [Self. NavigationalTimeSatelliteFeedup Supplement Backbutton: Yes]; }    

When you tap the back button to use the second controller,

  [self shotgun view controller: * Yes full: zero];   

Since you are not using [self.navigationController pushViewController: Animated Animation: ViewViewController];

The navigation bar will not appear, if you do this, then you will pick up your navigation bar and back button automatically and during the pressing back button it will automatically go to the previous view < P> Share your result

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -