Questions tagged [uinavigationcontroller]

The UINavigationController class implements a specialized iOS view controller that manages the navigation of hierarchical content.

This class is not intended for subclassing. Instead, you use instances of it as-is in situations where you want your application’s user interface to reflect the hierarchical nature of your content. This navigation interface makes it possible to present your data efficiently and also makes it easier for the user to navigate that content.

The screens presented by a navigation interface typically mimic the hierarchical organization of your data. At each level of the hierarchy, you provide an appropriate screen (managed by a custom view controller) to display the content at that level.

Sample of use

References:

UINavigationController Class Reference

11391 questions
3
votes
1 answer

UINavigationBar Disappears using UISearchBar and SearchDisplayController

Here is my scenario: (1) I have a TabBarController with the following: (A) Navigation Controller (rootviewcontroller is a uitableviewcontroller) = Tab 0 (B) UIViewController = Tab 1 (2) The Navigation Controller is using a…
3
votes
1 answer

hide modal tab bar controller - from within a view controller IN the tab bar controller

I have a first view which has a funky menu thing. Then when you select a menu item it does [self presentModalViewController:tbc animated:YES]; (tbc being a tab bar controller with 5 navigation controllers within it). In each of the navigation…
3
votes
1 answer

Make UINavigationBar transparent animated during transition

I can do translucent UINavigationBar transparent using this code: override func viewWillAppear(animated: Bool) { super.viewWillAppear(animated) navigationController!.navigationBar.setBackgroundImage(UIImage(), forBarMetrics: .Default) …
3
votes
2 answers

How do I achieve UINavigationBar animation while scrolling up in iOS Music App?

When you go to the native iOS Music application you will notice a very cool effect when viewing an Album. It seems like the view is a UITableView that has a transparent UINavigationController and when you scroll up, the first row of the view fades…
MiMo
  • 4,905
  • 3
  • 22
  • 23
3
votes
0 answers

UINavigation Swipe Back Gesture use with UIViewController?

In my application I am using the standard UIViewController structure around my app. However I have views which I transition to using a UIStoryboardSegue push. In that UIViewController I am doing this in the…
SimplyKiwi
  • 12,376
  • 22
  • 105
  • 191
3
votes
0 answers

Frame of main View of UIViewController inside a UINavigationViewController

I am confused by the frame of self.view within a ViewController I have made the root ViewController of a UINavigationViewController. Lets say I add a red square UIView to self.view (where self.view is the embedded ViewController's view property).…
Alex Bollbach
  • 4,370
  • 9
  • 32
  • 80
3
votes
2 answers

Swift: how to close view controller and navigation controller launched from AppDelegate

My app iOS main skeleton works on a TabBarController. Anyway, there is an extra behavior when a notification arrives. My app does the following when a push notification is received: func application(application: UIApplication,…
3
votes
2 answers

Go back to previous view controller with help of swipe back (to the left)

I have 2 view controllers. 1: Login page(Main View Controller) 2:Sign Up page.Lets assume that I want to go back from Sign Up page to Login page . How to solve this problem(with Navigation Controller), I am new in swift and iOS . Here is my code in…
3
votes
1 answer

How can I change UIImagePickerController navigation bar font?

I need it to be Helvetica Neue Light. Here is how I create the controller let picker: UIImagePickerController = UIImagePickerController() picker.delegate = self picker.allowsEditing = false picker.navigationBar.tintColor =…
3
votes
1 answer

Interactive default UINavigationController transition

I want to make the default push and pop animations of UINavigationController interactive, just like the swipe from the left side of the screen gesture does. These transitions will be driven by gesture recognizers. There's a lot of info online about…
Tim Vermeulen
  • 12,352
  • 9
  • 44
  • 63
3
votes
0 answers

setViewControllers equivalent in watchOS 2 to set the navigation stack?

In iOS, if you want to manipulate a UINavigationController (e.g. pop two view controllers, then push one), you can do so by using setViewControllers(_:animated:). Is there an equivalent method in watchOS 2? If not, how can I pop two interface…
Senseful
  • 86,719
  • 67
  • 308
  • 465
3
votes
0 answers

Ramifications of Embedding UITabBarControllers in UINavigationControllers

I've read a number of SO questions on this subject and the general consensus seems to be that this shouldn't be done. It's also stated that Apple's design guidelines do not recommend this approach. My question is however, what are the ramifications…
doovers
  • 8,545
  • 10
  • 42
  • 70
3
votes
1 answer

iOS - Pushing the same view controller instance more than once is not supported

First of all, yes I know that this is a common problem and has been discussed multiple times. Though I can't solve mine and I'd like to show you my stacktrace to see if any of you have an idea what the reason of this crash is in my case. I did…
keyboard
  • 2,137
  • 1
  • 20
  • 32
3
votes
1 answer

Keep the UINavigationController while moving to next UIViewController but hide UITabBarController

I have a UITableViewController that is embedded in a UINavigationController and in a UITabBarController. When I select a row, I want to open my UIViewController in the UINavigationController but not in the UITabBarController. When I create the segue…
Nico
  • 6,269
  • 9
  • 45
  • 85
3
votes
1 answer

calling viewdidload when using popViewController SWIFT

I have a navigation view controller and I am using popViewControllerAnimated(true) to show the view controller shown before. It works but I need to call the viewDidLoad of the before shown view controller to reload a table view. The viewDidLoad is…
Lenny1357
  • 748
  • 1
  • 13
  • 21
1 2 3
99
100