uinavigationcontroller

Showing/hiding navigation bar with smooth animation

I have a navigation based app. The first view (rootcontroller) starts with three large buttons only. No navigationbar. From there, everything else is tableviews and have navigation bars. I'm doing this to show/hide the navigation bar: MyAppAppDelegate *appDelegate = [[UIApplication sharedApplication] delegate]; appDelegate.navigatio...

iPhone: ViewController as a tab bar

Hey guys I need some help with this: I have two view controllers, let's say: FirstViewController (first) is inside a navigationviewcontroller SecondViewController (second) So in the first's viewDidLoad method I have this: SecondViewController *second = [[SecondViewController alloc] initWithNibName:...]; [self.addsubview:second.vie...

pop a specific view controller

I have an hierarchy of 3 view controllers in my navigation bar controller: view1->view2->view3. After the user finished with view3 I want to take him to view1. What is the best approach to do that? thanks, Nava ...

Strange problem with custom cells and the uinavigationcontroller

Hey there, I've got a navigation controller that has a grouped table with several rows, each using the same custom cell class. If I select a row it navigates to the next view. When I go back, just for a brief second, the background of the custom cell that was originally selected, expands to the full width of the screen then back again...

Supress visible screen switching on iPhone

In the iPhone application I'm developing, I have a need to return the user to the previous screen they were using when, for instance, the application was interrupted by, say, a phone call. The application is driven by a navigation controller, and the user may be several layers deep into the application. As such, I think that I need to ...

tableView resize problem when pushing another view while keyboard is showing

I have a tableview controller under a navigation controller. Some of my table cells contain text fields, so when I tap on them, a keyboard will show up and automatically resize (shrink) the bounds of my tableview. The bounds is then restored when the keyboard is dismissed programmatically by calling resignFirstResponder on my text field....

Weird Scrolling Issue Using UITableView

I am a working UINavigationController pushing two different UITableViews on and off the stack. All of my functionality is working correctly except scrolling. When either table is scrolled above the top row, or below the bottom row, it stays there exposing the margin above/below the table. I am looking for the table to "bounce" back so...

iphone setEditing - action after editing complete

hi guys im working on a traditional iphone nav controller app, with Auto back buttons etc. I am working on when an 'edit' button is pressed the LHS back icon dims, my new one comes in, and then once i unclick 'edit' the back button comes back. So far, the back button goes away, and my new one comes in. but I cant put it back! I know t...

UINavigationController template

When I open the new file dialog I see only 3 Cocoa Touch Classes: Objective-C class, Objective-C test case class, UIViewController subclass. When I last worked with Xcode, before I updated it, I remember there were more than 3 options, which included what I'm looking for: UINavigationController. So where can I find this template to crea...

A problem when change view of NavigationController in InterfaceBuilder?

default it link to RootViewController when i want to change it to another view it got some crash did it have a solution (InterfaceBuilder) for change view to another class ? when run program got some error [Session started at 2010-01-20 10:17:14 +0700.] 2010-01-20 10:17:16.560 AsianDelight[2816:207] *** Terminating app due to uncaugh...

How to remove a particular view controller from uinavigationcontroller stack ?

I have a uinavigationcontroller. After logged in i want to remove viewcontrollers like RegisterViewController,LoginViewController etc from UInavigationcontroller stack.. I mean i have to remove a particular view controller from stack ? How its possible. ? I checked this post http://starterstep.wordpress.com/2009/03/05/changing-a-u...

Is it possible to add an element to the bottom tool bar of a navigation controller ?

I want to add a progressview and an activity indicator view to the tool bar that come at the bottom of the navigation controller. But when I drag and drop it, it becomes applicable to the whole window? How can I do it? ...

How to check a uiviewcontroller is present in uinavigationcontroller stack

I have a UINavigationController . I have to pop a view from a UINavigationController and replace it with another. How we can search for a UIviewcontroller object and replace it with another ? when i print NSMutableArray *allViewControllers = [NSMutableArray arrayWithArray: myDelegate.navigationController.viewControllers];...

iPhone uinavigation - jump from pages

Hi, I'm a newbie to iPhone coding and am having problems with the UINavigation control. I have 3 views (main menu, news and login). The main menu is my base view in the root controller and then I push the login or news views onto the stack when the user clicks the button from the main menu. However, if I am on the news screen and want t...

cellForRowAtIndexPath never get called in Navigation-based Application

Hi! I have a Navigation-based Aplication where I have many view controllers each one with a tableview. The access to the view controllers depends on which row the user selects. Now i'm having a problem which is: when i select a row in the first viewcontroller i go to the second view controller but the tableview in the second view control...

Window Based Application - Problems getting to next view/controller

I have a Windows based application. I have a series of buttons in the xib. When I click on one of the buttons I want it to load a table view or a web page or a text view (depending on the button). This is the code I am using to attempt to move to the table view (which has its own xib). It prints the NSLogs lines in the console. It d...

Proper way to setup a UISegmentedControll on UINavigationController UINavigationBar all inside UITabBarController

The title pretty much describes it all. The problem being the handling of the UISegmentedControll callbacks (button presses). If the content type of all of the nested views was the same (i.e. some UITableViewControllers) then I could just switch dataSource'es and reload the tables. However this is not the case, I have 3 very differen...

iphone - programatically call navigation controller back button

hi guys in my navigation control based iphone app, in a method I would like the programmatic equivalent of the back button being pressed and going back a view. i.e. automatically press the Jobs button as seen here: Is there a generic iphone call i can make, or is more information required? Regards ...

How do I push a new controller via UIButton, nested in a UIScrollView?

Hello - I have my views that are part of a tabBar. Each view has a navigationController. In one of my views I have an embeded xib component. This is a scrolling view with UIButtons inside it. I want to slide in another view, inside the navigationController when a person taps the button. I can get the taps, etc. BUT, I can't figure o...

toolbarItems not being pushed with view

I have a NavigationController based iPhone app that has a navigationBar and a toolbar. Here is basically how it works: The applicationDelegate pushes a "SplashScreen" onto the RootViewController as a modal view. While the splash screen is up, the application does some work and based on the user's location will either just dismiss the mo...