uinavigationbar

Custom background for UINavigationBar in landcape mode

Hi I am adding a custom background for my UINavigationBar. It works fine as long as the phone is in portrait mode. As soon as I switch to landscape mode, half the bar appears blue (the default navbar color) and half of it has my image How can I stretch the image for landscape mode and make it small again for portrait mode? Thanks Sol...

disable UINavigationBar gradient

Does anybody know how to disable gradient in UINavigationBar and make it totally black? ...

Adding left button to UINavigationBar (iPhone)

I've created a new navigation based iPhone app. I added this to the RootViewController. - (void)viewDidLoad { [super viewDidLoad]; UIBarButtonItem *addButton = [[UIBarButtonItem alloc] init]; self.navigationItem.leftBarButtonItem = addButton; self.navigationItem.leftBarButtonItem.enabled = YES; } No left button displays howev...

Tab bar controller inside a navigation controller, or sharing a navigation root view

I'm trying to implement a UI structured like in the Tweetie app, which behaves as so: the top-level view controller seems to be a navigation controller, whose root view is an "Accounts" table view. If you click on any account, it goes to the second level, which has a tab bar across the bottom. Each tab item shows a different list and l...

iPhone Navigation Bar Title text color

It seems the iPhone Navigation Bar title color is always white. Is there a way to change it to a different color? I am aware of the navigationItem.titleView approach using an image. Since my design skills are limited and I failed to get the standard glossy. So I prefer changing the text color. Any pointers would be much appreciated. ...

Checking if a UIViewController is about to get Popped from a navigation stack?

Hey guys, I need to know when my view controller is about to get popped from a nav stack so I can perform an action. I can't use -viewWillDisappear, because that gets called when the view controller is moved off screen for ANY reason (like a new view controller being popped on top). I specifically need to know when the controller is a...

Hiding UITabBar when pushing a UIView

I have a UITabBarController where the default view controller is a UINavigationController. I want to be able to hide the UITabBar of the UITabBarController when I push a certain view in the UINavigationController. I've tried adding: delegate.tabBarController.hidesBottomBarWhenPushed = YES; in my UINavigationController before I push t...

Is there a better way to hide the backBarButtonItem than this?

I have a way of hiding the back button used by the navigation controller. It's set by the previous controller, not the one managing the current view, and that makes it tricky to get to. I needed to do this in editing mode so that I could prevent the user from navigating away from the screen. if(self.editing) { // Get rid of the back...

WPF Style Active Item

I am attempting to create a reusable navigation style Custom Control in WPF, like a navigation bar on a website. It will contain links to all the main Pages in my app. This control can go on top of all my Pages in my NavigationWindow. Giving a nice consistent look and feel across pages, like a website. My issue is in styling the curr...

Catching back button navigation event

I have a nav based app. Once a row is clicked in a tableview, I push a UIWebView. The UIWebView has web links in it. The user clicks a link, which renders the external webpage. This all happens within my app. The top nav bar hasn't changed with the clicking of a link that renders and external webpage. However, once the user clicks ...

Gap on Navigation Controller

I've got a button on a view. When I click on it, it should load another view, one with a novigation controller. So far I've got this, the button calls this method: -(IBAction)loadOptionsView:(id)sender { if (self.optionsRootController == nil) { //optionsRootController is declared as: UINavigationController *optionsRootC...

Persistent rightBarButtonItem Property of UINavigationItem

This may be a stupid question, but is it possible to keep a right UIBarButtonItem across multiple views managed by a UINavigationController? I have a progression of views that often share the same right UIBarButtonItem, but when I push a new view to my UINavigationController, I have to redefine the button every time, even if it hasn't ch...

Are there free iPhone navigation bar icon sets available?

I want to use up/down icons like the ones used by "mail" in the upper-right corner when you're viewing a specific message. Are these icons available for free anywhere? Beyond that, are there any sites with free navigation bar, toolbar, or tab bar icons? Thank you! ...

Reloading a view when back button is clicked from uinavigationbar

Application shows information about planets, their moons, and etc. It shows a list of planets, let user select a planet and see its details and then bookmark/unbookmark it. I have a view which shows user the details of selected planet, it also contains a add/remove bookmark button. If user clicks that button, that bookmark is added/remov...

Assigning a IBAction to the Back Button of the Navigation Bar (iPhone SDK)

In this (http://stackoverflow.com/questions/843534/flip-view-iphone) post, I have created a flip view for my iPhone app. Now, I want to make sure that whenever the user hits the 'Back' button in the navigation bar, the next time around when he drills down to the flippable view, this view is in its original, non-flipped position. Current...

Disabling UINavigationItem custom right view?

I create a custom right view as follows: // Build the Segmented Control NSArray *segmentTextContent = [NSArray arrayWithObjects:[UIImage imageNamed:@"arrow-dice.png"], [UIImage imageNamed:@"arrow-up.png"], [UIImage imageNamed:@"arrow-down.png"], nil]; UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:segme...

Change iPhone navigation bar's height

Hi! My client can't read iPhone's deafault fonts, the size is too small. I have an application with a navigation bar and I need to make everything in it bigger, for example, the font's size. IB doesn't seem to allow this... any help? Many thanks! ...

Iphone SDK: Change navigation bar height

Hello , Can some one tell me how to change the navigation bar height. I am trying to do this but I think I am doing wrong. CGFloat navBarHeight = 10; self.navigationController.navigationBar.frame.size.width = navBarHeight; Thanks ...

What is the default color for navigation bar buttons on the iPhone?

I'm adding a segmented control to a navigation bar in my iPhone app. By default the color of the segmented control matches the color of the navigation bar. I want to match the color of the segmented control to other buttons in the navigation bar (like the back navigation button). Can anyone tell me an RGB value (or a system color) that ...

Editable TextView with Second NavBar - Text appears, but too late.

Editable TextView with Second NavBar - Text appears, but too late. The app has a single Navigation Controller. I have an iPhone App that has basically three levels. Level 1 - Table with category Names Level 2 - Table with list of items for selected category Level 3 - Tabbed View with several views, including UITextView for details of i...