Questions tagged [uinavigationcontroller]

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

uinavigationcontroller
Filter by
Sorted by
Tagged with
0 votes
2 answers
948 views

How could I check if a particular ViewController is on the UINavigationController stack?

I have a main that links to a second view by a button and links back via a 'back' button in the navigation bar. I want to hide the navigation bar in the main view and only show it in the scene view. ...
user avatar
2 votes
2 answers
4k views

Add a UISegmentedControl as the titleView in a UINavigationController

I'm trying to add a UISegmentedControl programmatically as the titleView in a UINavigationController. But it did not show up. Upon further investigation, I found out that the titleView property is ...
Isuru's user avatar
  • 31k
0 votes
1 answer
1k views

pushviewcontroller causing memory leak in ARC

I am really surprised that instruments shows memory leak at pushviewcontroller in my code while I am having ARC enabled in my code. Following is my code: AddCallDetailsViewController *...
dispatchMain's user avatar
  • 1,617
1 vote
1 answer
1k views

Set View Controller root in Storyboard

I was using the JASidePanels and Storyboards in my app and when I want to change the center view using self.sidePanelController.centerPanel = [[UINavigationController alloc] initWithRootViewController:...
Gabriel Oliva's user avatar
1 vote
1 answer
221 views

Accessing UINavigationController at Top of Stack

How do I get a reference to the UINavigationController's backBarButtonItem from the UINavigationController at the top of the stack. In some circumstances I want to disable going back until some ...
Jordan's user avatar
  • 21.8k
1 vote
1 answer
1k views

Removing the text from the automated back button on a navigation controller

I'm sure this was covered before but I can't find exactly what I'm after. I'm using a custom image for the back button on my navigation controller and need to remove the text, is there a simple way of ...
Nathan Cleary's user avatar
0 votes
1 answer
182 views

UITableView UITableViewController Detail View and UISegmentedControl how?

I am currently adding Segmented Control in the viewDidLoad of the detail view and that is fine, but that means that I need to call back into TableViewController to act on it. And realistically it is ...
kos's user avatar
  • 1,357
1 vote
2 answers
606 views

UINavigationBar setTitleTextAttributes

I'm trying to change the color of NavigationBars title while I'm on a viewcontroller (not before pushing it). by using: [[[self navigationController] navigationBar] setTitleTextAttributes:...
Abcd Efg's user avatar
  • 2,156
1 vote
0 answers
728 views

Get Navigation Controller from Tabbar Controller

I am trying to achieve to two things right now: 1) Have a tabbar controller inside a navigation controller 2) Depending on the selected tab, some Navigation buttons change, and I want to push some ...
abisson's user avatar
  • 4,395
2 votes
0 answers
432 views

tabbar controller inside navigation controller (storyboards!)

I know that this question was discussed few times here, and in other websites, but posts are old (from 2009 or 2011) because of this they can't account changes in Apple environment. So I started to ...
lvp's user avatar
  • 2,088
0 votes
1 answer
99 views

How to automatic callback UINavigationController's BackItem in iOS?

Like my question title , i need to callback UINavigationController's BackItem event without tap on BackBarItem. I am using UINavigationController , i want to call these event automatic. How can i do ...
Fire Fist's user avatar
  • 7,052
0 votes
3 answers
2k views

How do I implement a persistent/universal right bar button item like Music app and Pandora's "Now Playing" buttons?

I am writing a streaming music app and I really like the universal "Now Playing" buttons in Music app and Pandora. I am trying to implement them myself. Unfortunately, the methods I tried led to me ...
duci9y's user avatar
  • 4,158
0 votes
4 answers
4k views

How create hidden sliding menu view for iOS that is always available from navigation controller

I know this topic has been somewhat covered, but I'm not seeing exactly what I need posted. Apologies if I'm missing it. Basically I want to have something very similar to the Facebook slide-out ...
fogwolf's user avatar
  • 931
1 vote
1 answer
4k views

I have a UICollectionView and i want to show an image in a Cell, that goes to a normal ViewController. How do i do that?

I have a UICollectionViewController (with a navigation controller) and i want to show an image in a Cell that 'pushes' to a normal ViewController (different by every image). How do i do that?
lennartk's user avatar
  • 599
0 votes
2 answers
4k views

iOS navigationController pushViewController not working

I have a storyboard with a UINavigationController. The root view controller of the navigation controllers is called rootViewController. I am trying to programmatically change the view controller (...
Sequenzia's user avatar
  • 2,341
0 votes
1 answer
591 views

IOS Map Kit Annotation callout to tableview

Working on a maps app and when I click the annotation callout, i'd like it to move to a detail view controller and have the back button in the upper left to return to the map. If possible, it should ...
Dave_750's user avatar
  • 1,235
0 votes
1 answer
866 views

How to navigate from UIViewClass to UIViewController Class using PushViewController method

I have a button inside UIView class on the click of which i need to navigate to UIViewController class using NavigationViewController. I m stuck in this. Can anyone tell me the solution. Edit as per ...
user2107025's user avatar
1 vote
4 answers
9k views

How to add an UINavigationController to an UIViewController presented as Modal

I have an alternative flow in my app. This flow starts in my firstViewController, then in this view a call my secondViewController like this: - (IBAction)PressButton:(id)sender { ...
Sebastian's user avatar
  • 6,314
0 votes
1 answer
50 views

UINavigationController not returning

I am trying to set up a system of ViewControllers and navigate between them. I am trying to navigate between DefaultViewController and CreateViewController. I am new to iOS programming, so I am having ...
casparjespersen's user avatar
0 votes
3 answers
3k views

Loading a UIViewController on the same Storyboard

I am trying to load a UIViewController on the same storyboard, I have given the View Controller a Storyboard ID, Restoration ID (Same as Storyboard ID) and View Controller Title of 'breakdown'. I ...
Jacob Clark's user avatar
  • 3,377
0 votes
1 answer
114 views

Empty view controller in distribution mode

I have got a view controller that is displayed nicely and works fine in the simulator AND while debuggin on various deivces (ipads and iphones of different generation - iPhone only app) But when ...
Hermann Klecker's user avatar
2 votes
4 answers
2k views

How to add shadow to UINavigationController

I want to create a Slide Menu like in Path or Facebook with a shadow between my menu and the UINavigationController with all the content inside. I can add rounded corners to the layer but the shadow I ...
Pascal Bayer's user avatar
  • 2,615
0 votes
1 answer
1k views

PresentViewController from AppDelegate

I am trying to present a ViewController which I know can be done with the following line. [self presentViewController:myVC animated:YES completion:nil]; However I have a part which is calling the ...
jwknz's user avatar
  • 6,694
0 votes
1 answer
2k views

How to resize UINavigationBar on rotation [duplicate]

If I set a UINavigationController as my self.window.rootViewController in AppDelegate, when I rotate the device the UINavigationBar resizes to be slightly smaller. How can I mimic this behaviour ...
squarefrog's user avatar
  • 4,802
1 vote
4 answers
299 views

What exactly does the back button in Navigation controller do?

Is there anyway to tell what specifically the back button from a navigation controller does? I know in terms of what it does, but in terms of method called/functions etc. The reason is that I am ...
StuartM's user avatar
  • 6,763
2 votes
2 answers
6k views

UINavigationBar back button without text and fixed size

I have a custom png I set as the back button for the UINavigationBar like this: UIImage *navBackgroundPortait = [[UIImage imageNamed:@"nav_bg_portrait.png"] resizableImageWithCapInsets:...
Neigaard's user avatar
  • 3,877
2 votes
4 answers
5k views

In XCode 4.6 how do you create a brand new iOS application combining a tabbed main application with a navigation controller on one of the tabs?

I am trying to add a navigation controller inside a tab bar controller in a brand new non-storyboard (plain old nib) style. I found this demo which assumes that XCode has a new project template ...
Warren  P's user avatar
  • 67.3k
5 votes
1 answer
4k views

Popover size with UINavigationController in Storyboard

I have created an iPad app containing a popover view embedded in a navigation controller. I like using Storyboard as much as possible, and setting the "Use Explicit Size" in Xcode give me the correct ...
audub's user avatar
  • 435
0 votes
2 answers
1k views

how to set title to first navigation controller in a page that uses tab view controller.?

we have used the following code in app delegate. but we are getting error in the setTitle function of navigation controller. - (BOOL)application:(UIApplication *)application ...
Akhil's user avatar
  • 170
0 votes
2 answers
72 views

UINavigationController FUNKY

I am currently using this guide such that I can replace the root controller with another view controller. http://starterstep.wordpress.com/2009/03/05/changing-a-uinavigationcontroller%E2%80%99s-root-...
freedom's user avatar
  • 741
3 votes
8 answers
7k views

Jumping between views in Navigation controller

I need to jump between view controllers. For example: View1: First screen (Just logo) View2: Download Screen View3: First app screen (Some Buttons) View4-View(N): some app screens When user enters ...
Dim's user avatar
  • 4,717
0 votes
1 answer
621 views

Navigation controller to tab bar controller

I am storyboarding my app. The structure of the app is a login screen without a navigation bar or a tab bar which leads into the app showing navigation bar and tab bar on all screens. So a navigation ...
Hassan Mahmood's user avatar
0 votes
1 answer
795 views

UITableViewController hold by a UINavigationController

My aim is to make a UITableView with a certain level of navigation. All I will be using are table views so I really want to go with UITableViewController and UINavigationController. I created a ...
Malloc's user avatar
  • 15.9k
0 votes
1 answer
1k views

Push a UIBarButtonSystemItemAdd to a different view controller

I'm trying to push an add button to a different view controller and I'm not using a storyboard. The button appears but doesn't do anything when clicked. Here's the code I have: -(void)pushLogin { ...
Anthony's user avatar
  • 332
-1 votes
1 answer
532 views

IOS - get a value from a table view controller and send it to another table view controller

I have two Table View Controller in a Navigation Controller. The Cloth table is the main view and when I click on one of the cells go to another view controller that gives me the detail, when I select ...
user2049878's user avatar
0 votes
1 answer
540 views

swipe gestures and navigation controllers

I currently have an app that has 50 or so custom buttons contained in a scroll view. These are all connected with a navigation controller to individual view controllers to show a full screen picture ...
David's user avatar
  • 319
22 votes
3 answers
12k views

When I should use Navigation Controller?

I don't know when I should use Navigation Controller instead of use segue with normal View Controller? And if use segue, which different between Modal and Push segue? Can you give me an example?
Proton's user avatar
  • 1,365
1 vote
1 answer
232 views

leftBarButtonItem in UINavigationItem

I've looked through several threads and come to a solution that I thought would work. UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"backbutton.psd"] ...
Mathias's user avatar
  • 233
0 votes
1 answer
434 views

SenchaTouch 2 - Using Navigation View

I am new to Sencha Touch development and trying to develope an app using it. I have been reading its docs and examples. I would like to know what is a best approach to start an app based on following ...
User382's user avatar
  • 864
1 vote
1 answer
2k views

Hiding Navigation bar in JASidePanels and display custom navigation bar

How to hide the navigation bar of the center panel in JASidePanel and show custom bar and also have a custom button and then show the left panel of the controller?? The link is https://github.com/...
raghul's user avatar
  • 1,028
0 votes
2 answers
419 views

UITableView under UINavigationBar after popViewControllerAnimated

After navigating 3 levels deep using UITableViews under a UINavigationController, finally presenting a UIViewController which calls: [self.navigationController popViewControllerAnimated:YES]; I see ...
randomx's user avatar
  • 2,357
0 votes
1 answer
57 views

My drop shadow repaints over itself?

I have subclassed an UINavigationController adding a drop shadow on method viewDidApper: from UINavigationController like this: - (void)viewDidAppear:(BOOL)animated { // Add shadow to ...
Alex Silva's user avatar
0 votes
2 answers
2k views

Switch view to another view on storyboard

I am new in iOS programming. What I am trying to do is: I have some views in a storyboard and I'd like to switch between the views programatically. For example, when a button is clicked, I call a ...
ozmuhammed's user avatar
25 votes
11 answers
27k views

How to resize Title in a navigation bar dynamically

I have some views that show up in a navigation controller. Two of these views have a longer title for the navigation bar. The problem is that when the title is too long to fit, some characters are ...
PhoenixDev's user avatar
1 vote
0 answers
145 views

Prevent resize of UINavigationController

I try to implement a custom split view for an iPad application. On the left side, I have a ViewController which contains the navigation. The right side should contain a NavigationController with a ...
appsperimental's user avatar
1 vote
2 answers
2k views

Issue with popping back to Root View controller in a tab bar controller

I am navigating to Tab bar controller with 6 tabs from a RootViewController... I have created back button method in left navbar item which pops back all tab views to RootViewController... Problem ...
Shaunak's user avatar
  • 717
0 votes
1 answer
240 views

Non-Animated Storyboard Segues

I have an app in which there is a ViewController and once a button is pressed it goes to DetailViewController. In ViewController I have hidden the navigation bar to have more room to display an image ...
user1601259's user avatar
0 votes
1 answer
2k views

activate/deactivate config listeners not firing in navigationview to hide navigationbar button in sencha touch 2

I am attempting to do something which (at least I believe) should be very straightforward in ST2 but it is not working. I have a main view (xtype: navigationview) and a secondary view (xtype: ...
M Azam's user avatar
  • 518
2 votes
2 answers
483 views

using viewForHeaderInSection method in iOS application

I have a grouped UITableView with multiple segments. I would like to have a button below each segment in the footer that when pushed would take the user to a different view controller (with some ...
JamesLCQ's user avatar
  • 341

1
151 152
153
154 155
238