uinavigationcontroller

Weird UI problem when modal view is dismissed

Hello. As shown in the screenshot below, i have a UITableView with some info and upon selecting a row an ABUnknownPersonViewController is invoked. In order to be able to able to dismiss that and go back to the UITableView I have this code: ABUnknownPersonViewController *unknownPersonView = [[[ABUnknownPersonViewController alloc] init] a...

How to use an icon as back button for UINaviationController

Hey, Does anyone know how to use an icon instead of text for the UINavigationController back button? ...

Auto hiding UINavigationBar and UIToolbar

I have an iPhone app that is based on a navigation controller. I have a main view controller that displays a list of articles, and a detail view, where you can see one article in a UIWebView. For the detail view, I have the navigation bar on the top, and a UIToolbar on the bottom. I'd like to auto-hide them with a slide animation (to t...

iphone navigationController : wait for uialertview response before to quit the current view

Hi, I have a view with a back button managed with a navigation controller and I want to check if a file has been saved when the user click on the back button. If the file has been saved you go back in the previous view, else a uialertview ask you if you want to save the file or not. So I did that but the view disapear and the alertview...

Custom animation for pushing a UIViewController

Hi, I want to show a custom animation when pushing a view controller: I would like to achieve something like an "expand" animation, that means the new view expands from a given rectangle, lets say [100,100 220,380] during the animation to full screen. Any suggestions where to start, respectively any documents, tutorials, links? :) hei...

problem in UITable cell selection

hai , i have coded in UITableview in the method as follows.but when i touch the cell or row ,it wont go to the next page(navigation did not work).have i to declare navigation conroller in other file.but i have coded app delegate in applicationdidfinishmethod for tab bar through dynamic.how can i link navigation? the code: UITableview;...

UINavigationBar Bottom Separator Line Color

Hi there, How can I change the line's color that separates the navigation bar and the view? For instance flickr changed it to gray (http://www.geardiary.com/wp-content/uploads/2009/09/Screen-shot-2009-09-08-at-8.00.06-AM.png) By default mine is always black... Thanks in advance for your help, nico ...

Simulating the back button on the UINavigationController on the iPhone

I currently have a TableView inside a NavigationController where when a item is selected the following code is ran: DetailViewController *DetailViewController = [[DetailViewController alloc] initWithNibName:@"DetailView" bundle:[NSBundle mainBundle]]; [self.navigationController pushViewController:DetailViewController animated:YES]; [De...

How can we navigate back to previous view programmatically in iPhone?

Hi, everyone. I am working on iPhone application which based on navigation controller. for example there are 2 views here. A (UITableViewController) and B (ViewController) the quest is here. when user select an item in View A. The application will force navigation controller to hide navigation bar before push View B to be showed, lik...

How do I make the first table view in a navigation view controller grouped?

I want the first view in my UINavigation Controller grouped, but I can't see where to initWithStyle as UITableViewStyleGrouped. My MainWindow.xib is set up like: File's Owner (Outlets: delegate-Test App Delegate) First Responder Test App Delegate (Class: TestAppDelegate) (Outlets: navController-Navigation Controller, testListControl...

Progamatic intialisation of reuseable TableViewController from a NavigationController

I'ld like to create a Navigation controller programatically from a Nib file, and add to that a table view controller (as its root controller). The table view controller needs to be initialised with a data set that can be changed. This is so I can reuse the table view controller in different two places (one from a list showing all data a...

How to hide the "back" button in UINavigactionController?

Do you know how to hide the 'back' button in a UINavigationController? Also, how to show it back, but I guess that's very similar to hiding it... Just like the mail application does on the iPhone when you hit 'Edit' while viewing emails. ...

UINavigationController popViewController is popping everything!

So I'm trying to pop a view controller off the stack when an error occurs, but it seems like it's popping too much off in one go. The navigation bar up the top loses its title and buttons, but the old table view data remains visible. I have no idea what's going on... The basic set up is: Tab View template Navigation controller View ...

Adding UIToolbar to window

I have a navigation based application which I'm trying to add a unique UIToolbar that will be persistent no matter which is the current view, using this: http://stackoverflow.com/questions/1072080/persistent-uibarbuttonitem-in-uitoolbar The problem is my when I set the frame for the navigationController, the UITableView inside the navi...

Is there a way to pop a view controller when the user switches tabs?

Is there a way to pop the view controller when the user switches tabs? I have a tabbar with a navigationController on one of the tabs. The user selects a row in a table which pushes a viewController onto the navigationController containing the table. Then the user switches tabs to a new view. In the new view he hits a button that b...

iphone-dev: TabBarItem help

Hi, I have am setting up my application like so (in applicationDidFinishLaunching): mytable = [[[MyTableController alloc] initWithStyle:UITableViewStylePlain] retain]; UINavigationController *mynav = [[[UINavigationController alloc]initWithRootViewController:mytable] autorelease]; [mynav.view setFrame:CGRectMake(0,0,320,460)]; UIVi...

Not sure I'm doing this the best way...

I have app delegate.h & .m files linked to a Main.Nib. Nib has a window and a tabbar controller which has 4 navigation controllers. Each of these 4 do their own thing inside 4 more Nib's containing tableview controllers etc. The tableview controllers take their data from arrays manipulated in the app delegate. All work fine and i hav...

Fade out UINavigationBarController.navigationBar?

I'd like to have my navigationBar fade out along with my status bar and setting animated: to YES does not work, since it just animates the navigationBar up. I have tried the following: [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:0.5]; self.navigationController.navigationBar.alpha = 0.0; [UIView commitAnimatio...

Add toolbar to UITableViewController

What is the simplest way to add UIToolBar to UITableViewController? I'm depending on edit functionality, so I can't change UITableViewController to UIViewController easily. ...

App Crashes when NavigationController is popped!

Hi, Below is what I copy/pasted from the Crash Log sent by the client. I am unable to understand what does that mean :s Apparently it looks like the app crashed when navigating back to a previous screen (and that's what client has reported). What is UIWebDocumentView here? I need to resolve the crash but I'm stuck here so any help is h...