uinavigationcontroller

How did They Do this? UINavigation with Toolbar on transparent

Hi, I'm just new to the ipad development world, and have come across the Instapaper app, and I just love the UI on this app. Specifically, Can you tell me what techniques would be used in creating a Navigation Controller with toolbar items, all on a transparent background? How did they do it? This seems like a common pattern in ...

ABPersonViewController edit contact and navigate back

I am building on XCode SDK 3.1.3 for iPhone. I am subclassing ABPersonViewController and presenting it as a modal view when user taps on a contact name in my iphone app. User can edit the address or change the ringtone and add it to their contact list as a new contact or update an existing contact. MySubClassedPersonViewController *x ...

Pushing UITableViewController onto [self navigationController] causes an EXC_BAD_ACCESS

In the current view that I am in, a button touch-up-inside event leads to the following action: (Note that while in the Debugger, I've verified that both [self navigationController] and the instantiated historyViewController do indeed exist. I am unable to determine why this bad access is happening. I can pop/push this view/other view...

Custom UINavigationController UIToolbar Background Image

I have an iPhone application using UINavigationController and would like to customize the elements with custom background images. I was able to do this for the UINavigationController's UINavigationBar pretty easily using Objective-C categories as below: http://foobarpig.com/iphone/uinavigationbar-with-solid-color-or-image-background.htm...

How to correctly switch view ?

Hi, i know its already allot of info about that in internet, but i'm new to programming and little confused, i need little help please... for example i have 10 views controllers and switching between it with a buttons for example i switching with -(IBAction)goToSecondView:(id)sender { SecondViewController *secondView = [[SecondVie...

how to pop a controller off the navigation stack without using the navigation bar

I'm trying to implement a navigation controller with some hierarchical views. I want to use a regular UIViewController to present choices for drilling down, I don't want to use the navigation bar - I want to have my own, custom buttons for returning back up a level. I see examples like: [[self navigationController] pushViewController:...

Android UINavigationController-like feature

On the iPhone I use a Navigation Controller to push and pop Views from. Very handy. Is there an equivalent in Android? ...

Customize the back button of a navigation controller

I want to have two buttons on the left side of the navigation bar, one is the regular back button and the other one is a UIBarButtonItem. However I could only get it to replace the default back button. I've tried many code samples on the internet but couldn't get any to work. please help ...

iPhone Development, How to Programmatically Call a NavigationController back button from another tab?

Here's the setup: I have a tab bar controller with two tabs. There is a navigation controller on top the second tab, so that I can view details from a table. On tab #1, I have a button. When this button is pressed, it switches the selected tab over to tab #2. My problem is this: Let's say I go to tab #2, then I select a line from ...

[UINavigationController popViewControllerAnimated:NO] doesn't release controller?

I have one UINavigationController that I use like this: DetailsViewController *controller = [DetailsViewController alloc] init]; [self.navigationController pushViewController:controller animated:YES]; [controller release]; Of course this code works well. The problem: when I send the popViewControllerAnimated: to the UINavigationCont...

How do I display the UINavigationBar on a modally presented UITableViewController?

If you have a UINavigationController's UIViewController present a UITableViewController (TVC) modally, is there a way for the TVC to display the UINavigationBar of its parentViewController? Or, should I have it create a new UINavigationBar, item, buttons, etc. for the modal TVC? ...

iPhone: Force UIViewController to change its orientation...

Hi, ** solved :-) (see example on bottom) ** could anyone give me a hint on how to force a view controller to switch back to portrait orientation after returning from a subview which was in landscape mode? It should work similar to the Photo-App. When viewing an image in fullscreen mode, the view rotates on changes of the device orien...

iPhone Application - combination of UINavigationController and UITabBarController

Hi I want to make the login app with the complicated views. Requirement flows as below: Login Page --> Menu Page --> Detail Page with Tab Control. --> Navigation Page Here the 'Detail Page' is again a combination of two views. Navigation View and Tab View. i.e. 'Detail Page' will have a Navigation Control (Navigation Bar) on top ...

Release message to a UINavigationController object

Hello, I am relatively new to Cocoa programming, and some aspects of memory managing are still troubling me. In this case, I am creating a UINavigationController using the alloc message, and initialising it with a UIView controller. Then, I am presenting the view modaly by passing it to the presentModalViewController method. Below is ...

Accessing UISegmentedcontrol selectedIndex - when contained in a UIButton contained in the UINavigationController.toolbar.

Hi! I am currently adding a UISegmentedcontrol to the toolbar in the navigation controller programactically (As below). This approach works fine, I have my UISegmentedcontrol, it fires the selector that I have setup no problems. Problem is - I would like to use the selectedIndex of this control in order to query my data model and pres...

popToRootViewController crash

Hi all, I'm facing a problem in popping to rootViewController. On my rootViewController, I'm presenting a modalViewController then dismissing it to push another viewController on self.navigationController. Here, I'm able to see the navigation backbarbutton to be pointing to my rootViewController and loads it properly when it's pressed...

Navigation Controller pushing my view twice?

I have a UITableViewController that is pushing some views when clicking on a cell: switch(indexPath.row) { case kFollowerSectionUpdatesCountRow: stockTwitsView.reloadUpdates = TRUE; stockTwitsView.showHomeButton = TRUE; //** reversed, true means hide the button ...

iPhone Dev, UINavigationController, How to Programmatically Tell when Back Button is Pressed

I have a UINavigationController, and I was wondering how I can programmatically tell when it has been pressed? I am asking because I need to perform some actions when the back button is pressed, and ONLY when the back button is pressed. There are cases when I programmatically press the back button, and I need to ignore those instances....

iPhone/UIViewController: when navigating away from a view, what is the best way to handle data entries

I should know this by now, but I am still a bit confused. When my app navigates from one view controller to the next (via the navigation controller) I want to "finalize" the data for the current VC before going to the next VC. The only way I see to intercept the "page swap" is in the [old view viewWillDisappear] -> [newView viewWillAppea...

UINavigationController Method Issue

Is there a way to customize the method that is called when someone touches the back button in my UINavigationController? I need to check which nib is being loaded so I can configure the UINavigationController properly (mainly set the navigation bar to hidden for one view). ...