The UINavigationController class implements a specialized iOS view controller that manages the navigation of hierarchical content.
112
votes
7answers
71k views
iPhone hide Navigation Bar only on first page
I have the code below that hides and shows the navigational bar. It is hidden when the first view loads and then hidden when the "children" get called. Trouble is that I cannot find the event/action ...
68
votes
4answers
20k views
SplitView like Facebook app on iPhone
I want to create an iPhone app that uses a navigation scene similar to the one pictured in the link
Please note I do not want this to only work for iPad, I want it to work for iPhone exactly as ...
66
votes
10answers
59k views
Setting action for back button in navigation controller
I'm trying to overwrite the default action of the back button in a navigation controller. I've provided a target an action on the custom button. The odd thing is when assigning it though the ...
60
votes
6answers
69k views
How to add a right button to a UINavigationController?
I am trying to add a refresh button to the top bar of a navigation controller with no success.
Here is the header:
@interface PropertyViewController : UINavigationController {
}
Here is how I am ...
56
votes
11answers
21k views
Popover with embedded navigation controller doesn't respect size on back nav
I have a UIPopoverController hosting a UINavigationController, which contains a small hierarchy of view controllers.
I followed the docs and for each view controller, I set the view's popover-context ...
53
votes
12answers
20k views
Set a custom subclass of UINavigationBar in UINavigationController programmatically
Does anyone know how can I use my custom subclass of UINavigationBar if I instantiate UINavigationController programmatically (without IB)?
Drag a UINavigationController in IB show me an under ...
52
votes
9answers
26k views
UIPopoverController automatically resizing to max height on pushViewController
I have a popover containing a UINavigationController. I can display the popover fine, and it contains the navController just fine. The navController contains a tableView and when I select an item it ...
46
votes
10answers
36k views
How to change the Push and Pop animations in a navigation based app
I have a navigation based application and I want to change the animation of the push and pop animations. How would I do that?
42
votes
5answers
18k views
How to hide the “back” button in UINavigationController?
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 ...
34
votes
10answers
51k views
iPhone: Setting Navigation Bar Title
Hey all. I'm still pretty new to iPhone development, and I'm having a bit of trouble figuring out how to change the title of my Navigation Bar. On another question on this site somebody recommended ...
34
votes
6answers
39k views
Custom animation for pushing a UIViewController
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 ...
31
votes
6answers
18k views
iOS: popViewController unexpected behavior
I've been searching the internet for a solution. There's nothing I could find.
So:
I'm using a UINavigationController. I am pushing two UIViewControllers onto it. In the second pushed ViewController i ...
27
votes
3answers
25k views
How to set the text of a back button on a UINavigationBar? [duplicate]
Possible Duplicate:
How do I change the title of the “back” button on a Navigation Bar
The Situation:
I have a UIViewController that is governed by a navigation controller. I am ...
27
votes
8answers
13k views
How to add 2 buttons into the uinavigationbar on the right side without IB?
how can i add 2 buttons into the uinavivationbar without IB?
The 2 buttons should be align on the right side of the uinavigationbar.
I know how i can add one button, but two??
Alex
25
votes
4answers
15k views
self.title sets navigationController and tabBarItem's title? Why?
I do this in a UIViewController for one of my tabs:
self.title = @"Welcome";
However, it's overwriting whatever I have for the tabBarItem. I have tried:
self.tabBarItem.title = @"Home";
and
...