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]...
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)....
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...
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?
...
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...
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...
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]...
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
- (...
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....
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...
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...
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...
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 ...
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 ...
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...
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...
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?
...
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...
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..
...
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...