uinavigationcontroller

Steps in subclassing UINavigationController

Hello I would like to subclass the UINavigationController to get some more freedom in regards to the appearance of the controller. I have some graphics for the different parts, bars, buttons, text etc. Looking at the UINavigationController header file I get little help, I don't know where to start out. I have never subclassed/overridd...

How to customise the UINavigationBar that appears when there are too many UITabBar items?

The main thing that I'd like to change is the tint of the UINavigationBar that appears in the "More" item of a UITabBar. I've done this for other NavigationControllers in normal items, but I haven't found where the one in the More item is defined. ...

Changing the UIViewControllers self.navigationController value?

Hello I am building a custom UINavigationController (Not subclassing it, I subclass UIViewController for this), I would like to have the instances of UIViewController that are added to my custom navigationController to get a reference to the custom navigation controller when they access the self.navigationController. I.e You would, fr...

iphone - navigation controller - move to first view from last view without traversing all intermediate views

i'm working on iphone app which will show 4 buttons in first view. on click of a button, it will load a new view with navigation controller. this navigation controller view allows to travel upto 11 sub views. in 11th sub view, i've a reset button. on click of reset button, i've to go back to navigation controllers first view without trav...

Updating parent table after child update in uinvaigationcontroller

So you have UINavigationController, with a parent table which has one cell --------------- | paul > | --------------- And you click on it and get a screen which has textfields that you enter --------------- | name: paul | --------------- | age: 23 | --------------- | hair: brown | --------------- | etc | ----------...

touchesBegan and other touch events not getting detected in UINavigationController

In short, I want to detect a touch on the navigation controller titlebar, but having trouble actually catching any touches at all! Everything is done without IB, if that makes a difference. My app delegate's .m file contains: MyViewController *viewController = [[MyViewController alloc] init]; navigationController = [[UINavigationContr...

How do I create custom subviews from a UINavigationController in xcode?

I am definitely the NOOB here, so let me pre-apologogize for asking how to write this application. In a nutshell, this is what I am trying to do. I will have a main View Controller. There will be 3 buttons. 1 for information, 1 for Food Menu items (TableView), and 1 for Common greetings. I am stuck on creating a tableview that will h...

UINavigationController back button problem in landscape mode?

Hi, my iphone application supports portrait mode earlier, now i want to support land scape mode also. everything is working fine in my application except the navigation controller back button. i have used tableviews in navigaton conroller, when i click back button in landscape mode view is getting poped and its loading its previous vie...

Two UIViews, one UIViewController (in one UINavigationController)

Given an iPhone app with a UITableViewController pushed onto a UINavigationController, I would like to add a right bar button item to toggle between the table view and an "alternate" view of the same data. Let's also say that this other view uses the same data but is not a UITableView. Now, I know variations on this question already exi...

Setting Back Button Tittle in Navigation Controller problem

Hi, I'm trying to change Back Button tittle in a navigation controller in the following way: In the parent controller I put this in vieDidLoad: self.title = @"Calendars"; self.navigationItem.backBarButtonItem.title = @"Previous"; But this controller is in the stack since I initialized the app: -(void)applicationDidFinishLaunching:...

UITabBarController's 'More' navigation controller disappears under UINavigationController

I am using a UITabBarController as well as a UINavigationController on my app. In my UITabBarController I am using more than 5 items so I automatically get the 'More' item. I've managed to add a saving procedure so the order of those items will be kept in case somebody changes the order etc. With 'More' active I get the More navigation...

How can I restore the back button in UINavigationController?

I have created my own leftBarButtonItem: UIBarButtonItem* homeButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemBookmarks target:self a...

Freeze call to popViewControllerAnimated on iPhone OS

Hi there ;) I have an app with tableViews, and on some of them, the cells dislays an accessoryDetailDisclosureButton that pushes a DetailViewController. On this DetailViewController, the user can change some data. I show a "Save" Button to explicitly save the data. BUT (yes, there's always a but), let's say that the user changes some da...

strange behavior when changing UINavigationController backItem title

Hi, I'm changing the back button item title in the viewDidAppear of a controller in the following way: self.navigationController.navigationBar.backItem.title = @"Previous"; It changes the tittle properly, but the I'm having a strange behaviour. When I select the "previous" button, it changes the tittle of the controller that is up in ...

How to push a view using textFieldDidBeginEditing event?

I want to push a view when I tap on a textfield, and I use the method textFieldDidBeginEditing to do it. The thing is that my navigation controller crashes someway that when I try to go back to the view when the textField is, the navigation bar seems to pop back, but the view that should be popped, stays. On the other hand, I want the t...

Pushing to a UITable inside a UIView from a UITableview

I can firgure out how to push a UIView from a Tableview and have the "child" details appear. Here is the view I'm trying to load: Here is the code that checks for children and either pushes a itemDetail.xib or an additional UITable, I want to use the above .xib but load the correct contents "tableDataSource" into the UItable: - (voi...

Problems with UINavigationController inside of UITabBarController, viewWillAppear not called

As an overview, I'm having issues with a UINavigationController inside of a UITabBarController calling viewWillAppear whenever a view is popped from the stack. From the delegate, a UITabBarController is made programmatically: // Create views for Tab Bar UINavigationController *view1 = [[UINavigationController alloc] initWithRoo...

Combine UIPageControl,UIScrollView (Horizontal) with UINavigationController

I finished building a basic iPhone app and now wants to upgrade the UI. I want to add something very similar to the iphone main screen, the only difference is that I need the UINavigationController to always be visible while I scroll through the views. I tried to play with the PageControl example by apple but couldn't get it working th...

NSuserdefaults not loading in a tab bar controller, works on uiview

I have a problem getting the NSUserDefaults to pull out on a tab/nav/tableview controller page, I've put the same code on a loginpage and the app will pull the objects for keys perfectly. I had this working when I had programmatically created the tabs and navs but now it's not working. The loginViewController is not in the tab stack, is ...

Navigation Controller and Bar - Memory Managment

Hi! first of all... i'm italian, so i'm sorry for my bad english! so... this is my app: i'm using a navigation controller: in the first view there are 10 buttons and every button calls a functions like this: [self pushViewController:nameview animated:YES]; to a different uiviewcontroller! So i have 11 uiviewcontroller! Every cont...