uinavigationcontroller

iPhone landscape UIView slide transition

Hi, My app uses a landscape only view and requires the user to answer a series of questions using a UISlider to select their answer before clicking "Next" to move to the next question. The user can't go back to previous questions so only has one "direction" of travel. Once the final question is answered the app will return them to the...

How do I (temporarily) disable Navigation in my view when modal dialog exists?

I have a standard UITableView with a UINavigation bar at the top with the standard back button, etc. I have a button that pops up a "modal dialog" box, which is a view that sits on top of and almost obscures (but doesn't quite) the view underneath. Problem is, the buttons (including the "back" nav button) are still visible and thus tou...

[iPhone] Howto switch between UIViewControllers without using a tab bar?

Hi all, I have a UINavigationController. In the 2nd level of my hierarchy, I want to show a view controller with a toolbar in which I inserted a segmented control. Through it the user can select between two "views" of the same page that we can call A and B (like in the Calendar application). When the user press the A segment, the A vie...

Popping UIView programmatically failing.

I am having trouble programmatically removing stacks from a view. I am doing things a bit convoluted, which is certainly not helping matters. Here is what I want to do: User is in one tab of a tab view controller. User selects item from table that contains URL. App switches to another tab view, and sets an existing UIWebView to the sel...

Disable animation of navigation bar in iphone

I am working on a Navigation-Based Application. I have few View Controllers which I push in to Navigation Controller on different occasions. The following is the code I use to push new View Controller. AnotherViewController *anotherViewController = [[AnotherViewController alloc] initWithNibName:@"AnotherView" bundle:nil]; [self.navigat...

How do you properly set up a secondary view to support a navigation Controller on the iPhone?

I have an iPhone app that shows a simple view (View 1) that has a button. When the user presses this button, View 2 slides into view using the call [self presentModalViewController:self.view2 animated:YES]; I want View 2 to support a navigation controller. All the code I find tells you how to set up a Navigation Controller App, but I ...

UIBarButtonItems not showing up on UIToolbar

I have a UINavigationController with toolbarHidden set to NO. I have added UIBarButtonItems to navigationController.toolbar. The toolbar is displayed, but the buttons are not... What gives? ...

Current UIView Questions iPhone SDK

I posted earlier but am running into similar problems again. Basically the way that my app is setup there is a top bar that is basically just a static image that has UIButtons placed on top of it. That is the Main View Controller and is persistent no matter what view is shown beneath it. I can't use a navigation controller because it is ...

Problem with Core Data information not showing until iPhone app closed and re-opened

Hi, So I've transferred the core data code from Apple's sample Core Data / RSS parser application, TopSongs, into my own application. It loads fine, (i.e. no errors or warnings) and the first time you open the app all that happens is the UIActivityIndicator spins and then stops. No data displays in the UITableView. You then have to clo...

How to add a UINavigationController to my UITableViewControllerSubclass?

My app is a tab bar application, which one of the tabs is a TableViewController instead of a viewController which works fine (the table displays great) but where and how do I add UINavigationController to it? :-) ...

Back button title not receiving previous view controller's title

I am pushing 2 view controllers in to navigation stack in ApplicationDidFinishLaunching. [navigationController pushViewController:favorites animated:NO]; [navigationController pushViewController:root animated:NO]; The app loads fine, but on the start screen, the back button title is simply "Back". I do have a title for the FavoritesVi...

navigation controller upon a view in iPhone

hello, I would create a view programitically , then Can i place the navigation controller upon a view by making the view as rootview? and then return the rootview to the window object in Objective-C for iPhone programming. Is this possible? ...

Best way to set default tint for UINavigationController

I use a lot of UINavigationControllers in my app. I am using a UIColor to set the tintcolor of the navigationBar. This works as expected, but I am trying to find an easy way to set a default tintcolor for all UINavigationControllers. What is the best way to do this? Is it subclassing the UINavigationController, or is there something ...

Adding subview, gets delayed?

Hi, i didn't really know how to title this question, but here's a thing that really kills me: In my app i have a UITableView, UISegmentedControl and UINavigationBar. Once UISegmentedControl gets one of its segments selected i want to show a UIActivityIndicatorView on the UINavigationBar and then parse an xml file and present the results ...

How to place a view upon a navigation view controller?

hello, I'm designing UI for iPhone application.How should i places a UIView object upon a Navigation ViewController? Suppose viewObj is the UIView object and uiNavControllerObj is Navigation controllet object?what is the syntax to place viewObj onto uiNavControllerObj? UIView* viewObj; NavigationController* uiNavControllerObj; Edit...

How to change back button from text to image in UINavigationBar

UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithImage:@"rGoBack" style:UIBarButtonItemStylePlain target:nil action:nil]; self.navigationItem.backBarButtonItem = backButton; [backButton release]; I use this source. but It...

navigationController will/did ShowViewController - How to tell which?

Given the UINavigationController delegate methods: -(void)navigationController:(UINavigationController*)navigationController (will/did)ShowViewController:(UIViewController*)viewController animated:(BOOL)animated How do you tell or compare which view controller instance is relevant to the event? I am developing an app that renders tou...

Push ViewController from Right To Left with UINavigationController

Hi, As everyone know the UINavigationController push a ViewController from Left To Right, is there a way to push the View from Right To Left? like the animation for the back button. For now I have this: [self.navigationController pushViewController:viewController animated:YES]; ...

window as RootViewController with Navigation Controller upon it

Hello, UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:windowObj]; Can i do this? Making a window as RootViewController with Navigation Controller upon it. ...

UINavigationBar multi-line title

Is there a straightforward way of overriding the titleView of the current navigation bar item in a navigation bar within a navigation controller? I've tried creating a new UIView and replacing the titleView property of topView with my own UIVIew with no success. Basically, I want a multi-line title for the navigation bar title. Any sugg...