uinavigationcontroller

UINavigationController switch views - slide from right to left

Hi I am trying to switch between views. The classes inherits from UINavigationController. I am using this code in my IBAction: CellSubview *personView = [[CellSubview alloc] init]; // The new navigation controller self.modalTransitionStyle = 0; // tried all 3 of the options [self presentModalViewController:personView animated:YES]...

unwanted (transparent) "border" around UITableView when (programatically) placed in UINavigationControl

Hi there. On selecting a cell in a UITableView (which itself is placed on the rootView of a UINavigationController) I push a new SubviewController (which has another TableView as its view) onto the NavigationController. It all works fine, but when it gets displayed it has a transparent Border around it (the same width on all the sides)....

UINavigationController setViewController:animated: navigation bar difficulties

I'm having an incredibly frustrating problem that appears to be a bug, but I have a very hard time believing no one else has come across this. My application's root view controller is a UITabBarController, where each tab is a UINavigationController. Everything works great. Now I've come to a place where I want to edit the stack, so I re...

Change color of NavigationBar for the "More" tab?

When you have more than 5 view controller in your TabBarController, a "More" view is automatically setup for you. Is it possible to change color of the navigationBar in this view to match the color I am using, instead of the default blue? ...

answer to my old question about navigation Controller !

hi guys . i had questioned here : http://stackoverflow.com/questions/1675113/best-idea-for-importing-text-to-each-navigationcontroller-view the answer was this: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { PoemDetailsViewController *poemDetails = [[[PoemDetailsViewController alloc...

Behaviour of a searchDisplayController.searchResultsTableView inside a UINavigationController logic

I have a ordinary UITableViewController inside a UINavigationController. The former includes a searchbar which is connected to a search display controller. I use the standard behaviour, i.e. when the user enters any character the search results table view overlays the normal table view. Now, both table views act inside a navigation cont...

iPhone - switching a view controller in the tabbar and call a method

Hello! I have a TabBar in my application and I do this in my AppDelegate: ... test2ViewController = [[Test1ViewController alloc] init]; ... navigationTest2Controller = [[UINavigationController alloc] initWithRootViewController:test2ViewController]; NSArray *myControllers = [NSArray arrayWithObjects:..., navigationTest2Controller, nil]...

iPhone - UITableView - lost data if i go back

Hello! I have a TabBar, NavBar, SearchBar with ScopeBar on my screen. I can search data via a remote server and list the content. So I have a NSMutableArray listContent and a filteredListContent like in the example of Apple (TableSearch - http://developer.apple.com/iphone/library/samplecode/TableSearch/index.html): Now I added in - (...

Instance of the ViewController

Hello! I want to access the current ViewController. I have a TabBar with a NavBar and there is a ViewController in it. In this ViewController (TableView) I made a "pushViewController" to a new ViewController. How can I access this one in another class. If I do: [(MyTestDetailViewController *)[[(UINavigationController *) [appDelegate....

iPhone - one level up in a TabBar and call a method

Hello! I have a NavBar, a TabBar and a SearchBar with a ScopeBar. So the user can perform a search via a remote server. Clicking on one TableRow of the TableView a new ViewController with a xib is pushed into. It is doing some calculations and it is possible, that I have to dismiss this View(Controller) and I should go back like I am c...

Navigation stack monitoring

Can anyone tell me why this comparison keeps making my app freeze and crash? NSArray *viewControllerArray = [controlFromMap.navigationController viewControllers]; NSUInteger parentViewControllerIndex = [viewControllerArray count] - 3 // or - whatever; NSLog(@"Parent view controller: %@", [viewControllerArray objectAtIndex:parentViewCont...

iPhone - An instance of class ... is being deallocated while key value observing are still registered with it

Hello! I have a ViewController (with a MKMapView) which is pushed into, because of the NavigationController. So I have a NavBar with a "back" button. Clicking that back-button, I get an error: 2010-01-11 18:05:35.273 TestApp[147:207] An instance 0x1758f0 of class MKUserLocation is being deallocated while key value observers are stil...

UITabBarController Hide Show Bars with animation like the Photo APP

Hi there, i'm having a real trouble with UITabBarController. I have a simple foto app, and I'm trying to simulate almost the same behaviour as the PhotoApp from the Iphone the main view controler is the tabbar itself, i also have a NavBar and a status bar on top. What i want is on tap to hide the bars (not with timer, just on tap). The ...

Iphone UINavigationController onchange event

Hi there, i have an app that uses a navbar. What i want to acomplish is make it transparent when i push in the last view from the nav sequence, and make it opaque when i click the back button on the nav i tried with on dealoc, but it doesn't work. My view is an UIScrollView not an UiView, but i guess that makes no difference. As i see ...

iPhone: Navigation from button

Hey guys I have a RootViewController that has his nib file RootView.nib. Anyways there's a button that when you press is it sends you to my SecondViewController(SecondViewController also has his SecondViewController.nib file). Now the SecondViewController has an IBOutlet UINavigationController and has also the delegate from NavigationCo...

iPhone Table View Data Edit Pane

I have an application I'm working on, and I need the user to be able to add new "Shows", "Movements" and "Dots." These are all represented by classes. At the root of the application, all the shows are shown, the user can click on the show, see the movement in that show, then tap on a movement and see the dots in the movement. It works be...

Tab bar navigate to root view

I have a tab bar based application with navigation on each tab bar item. When i navigate to another view on any tab bar item and click on on tab bar item,then root view controller on that tab bar item is called. Its like PopToRootView . Can we disable this situation? ...

How to display UIActionSheet just below top navigation status bar on iPhone

I would like to display an action sheet sliding from just below the very top status bar. When I use the navigationBar as the view to show in, the sheet is still displayed at the bottom of the screen. How can I show it originating from the top instead? The class I'm calling the following code from is a 'UIViewController' UIActionSheet...

what is the difference between self.navigationController and Delegate.navigationController

i can use MyFirstAppDelegate * Delegate = (MyFirstAppDelegate *)[[UIApplication sharedApplication] delegate]; [Delegate.navigationController popViewControllerAnimated:YES]; or [self.navigationController popViewControllerAnimated:YES]; So what is the difference between both ? Please answer me ...... Thanks in advance.. ...

[UINavigation] topBar equivalent of hidesBottomBarWhenPushed?

I have a UINavigationController in which the root view doesn't display the top navigation bar via [[self navigationController] setNavigationBarHidden:YES animated:NO]; The view I'm pushing onto this does need to display the navigation bar, and I'm currently using the above method to show it and then hide it again when the view is popp...