O'Reilly logo

Xamarin 4.x Cross-Platform Application Development - Third Edition by Jonathan Peppers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using UINavigationController

In iOS applications, the key class for managing navigation between different controllers is the UINavigationController class. It is a parent controller that contains several child controllers in a stack. Users can move forward by putting new controllers on top of the stack, or using a built-in back button to pop a controller off the stack and navigate to the previous screen.

The developer can manipulate the navigation controller's stack with the following methods:

  • SetViewControllers: This sets an array of child controllers. It has a value to optionally animate the transition.
  • ViewControllers: This is a property for getting or setting the array of child controllers without an option for animation.
  • PushViewController: This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required