Questions tagged [navigationcontroller]

A Controller in a MVC (Model View Controller) pattern provides the execution flow of the application. NavigationController is about this flow.

A Controller in a MVC (Model View Controller) pattern provides the execution flow of the application. NagigationController is about this flow in a technology that can apply the MVC pattern.

507 questions
0
votes
0 answers

Navigation Bar Hidden Push View Height Difference

I have a root view controller that has navigation bar set hidden. When I push a new view on top, the view.height does not calculate the hidden nav bar space and is pushed to the top, with a bottom white space that is equal to that of navigation bar…
0
votes
1 answer

Navigation controller problem

I have a normal view controller and I want to add a uinavigationcontroller to it so: [self.view addSubview:aNavigationController.view]; everything works, fine, aNavigationController is an IBOutlet, in the XIB, it's view controller is loaded from…
0
votes
1 answer

SearchResultsController obscures screen when used with UINavigationItem

I'm using new integrated UISearchBar available in iOS 11, the problem is as soon as I tap on the searchbar and start typing text, the SearchResultsController obscures the whole screen, including the searchbar. It is impossible to dismiss the results…
0
votes
1 answer

ios 11 Search Bar doesn't show with navigationItem

I'm having an issue where my search bar (embedded in a table view) doesn't show no matter what I do. It's just not there when I implement the iOS 11 navigationItem code. Search controller code is below. THANK YOU! func configureSearchBar() { …
0
votes
1 answer

When I dismiss the modal window, I see the navigation bar of the previous window

I'm using SwipeViewController. I asked my question to the developer, but he ignores it. Here is my question. When I close modal within dismiss method of ImagePicker imagePicker.dismiss(animated: true, completion: nil) Navigation bar from SwipeVC …
0
votes
1 answer

Firebase notification click-on crashed when ios app is closed

When I click the notification, I want it to open a notification viewController of the app. All codes are in AppDelegate.m I have a function to find the topMostController - (UIViewController *)topMostController { UIViewController *topController =…
0
votes
1 answer

How can I use the Top Bar setting of a UITableViewController in IB?

I have a .xib with a controller, a UITableViewController. It contains a UITableView, which is controlled by the right .h, .m files and IBOutlets. All works fine, but I want a Navigation Bar on top of the view. Now I saw this setting in Interface…
0
votes
1 answer

Swift Transparent UINavigationBar

I've to make my navigation bar transparent, I tried with this code : self.navigationController?.navigationBar.setBackgroundImage(UIImage(), for: UIBarMetrics.default) self.navigationController?.navigationBar.shadowImage =…
0
votes
2 answers

UITableView only pushes to one controller

So I have my UITableView, with 2 sections and 1 cell in each, and if I click the first one, it works, then the second one, it goes to the first controller. RootViewController is a navigationController, trying to push to ViewControllers. Here's the…
0
votes
2 answers

navigationController?.pushViewController fails to launch the view

Language is Swift 4 I have a tableView which is showing some categories and below each category it has one or more detail rows. When I click on the detail row, I want it to launch another tableView to show the selected detail row, along with some…
CMan
  • 71
  • 1
  • 7
0
votes
1 answer

Use push and pop navigation behavior reusing same view(s)

I have list of frames. Each frame has context for view(e.g. text frame, image frame) and has specific view for type of frame(viewText, viewImage). Length of list could vary and could be huge. One view is visible at time. User uses gestures to go…
kibermaks
  • 428
  • 3
  • 10
0
votes
1 answer

Actionscript 3 Navigate with Keyboard Between Labels

I need to navigate between labels with arrow keys like a power point presentation. I have an array with labels and a KeyboardEvent. My problem is, if I am in label number four for example and click in arrow click, always goes to first label. So I…
Sbml
  • 1,907
  • 2
  • 16
  • 26
0
votes
2 answers

UINavigation PushViewController Doesn't Display Next View, But Runs The Code

The problem, My home screen is wrapped in a UINavigationController, when I push to the next controller it's fine, but then when I use the left swipe to go back to the home screen then click on the button to take me to the next controller sometimes…
0
votes
2 answers

Swift 3 - Push a new view but keep the same NavigationBar

I have a UISearchBar in my application. When I press a button to "open" the searchbar does a new view appear. But the problem is that the NavigationController changes and the UISearchBar disappear. How can I do so I can keep the current…
Stc
  • 25
  • 7
0
votes
3 answers

Thumbs down NavigationController-left and right view scrolls from rootViewController?

I am newbie ios developer from Turkiye. So excuse me for my eng. I want to learn how can do this on NavigationController? ****LeftSideControllerView -----RootControllerView-----RightSideControllerView**** I want scroll like this? is it impossible?…
atasoyh
  • 3,045
  • 6
  • 31
  • 57