uinavigationcontroller

What's the best way to refresh a UITableView within a UINavigationController hierarchy

Hi, I'm pretty new to iPhone development and have struggled to find what I consider to be a neat way around this problem. I have a user interface where a summary of record data is displayed in a table inside a navigation controller. When the user clicks the accessory button for a row, a new view is pushed onto the navigation controller...

Autorotate UINavigationController based Application in IPhoneOS 3.0

I have an application which have code like: window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; // UIWindow *window; viewController = [TopicsViewController new]; //TopicsViewController *viewController; //This is a UITableViewController navigationController = [UINavigationController new]; // UINavigationController *...

iPad: Merge concept of SplitViewController and NavigationController in RootView?

I'm having trouble merging the two concepts of using a SplitViewController in my main view and having the "RootView" controller that controls the left panes popup/sidebar table view. I want to have the left "RootView" act as a navigation menu, but how do I do this when the RootView is tied through MainWindow.xib into the left pane of th...

Navigationcontroller, why isnt this working?

Hi ! Why wont this work? View1 loads View2. In view2: - (void) goToView { View3 *plainText = [[View3 alloc] initWithNibName:@"View3" bundle:nil]; [self.navigationController pushViewController:plainText animated: NO]; [plainText release]; } - (void)viewDidLoad { [self goTo...

How to put a UISegmentedControl under a NavigationController?

I was wondering what the best approach in order to have a UISegmentedControl appears just under the a navigationController just like in the AppStore application. AppStore example: http://img.skitch.com/20100420-fmyefsw4xxmqc7fq8k8j6whexq.jpg The content I what to put in the different views are UITableView just like the AppStore app. W...

NavigationController is not popping the Pushed View on Back button

Having a simple Navigation Controller in place (starting the Navigation Based Application project) I created a new View with a XIB file. on my HomeViewController (Home screen with all options as UIButton's I have: @implementation HomeViewController -(IBAction) optionChoosed:(UIButton *)button { NSString *msg = [NSString stringWith...

How to perform kCATransitionPush animation without any transparency / fade effects

I'm trying to duplicate the "slide up from the bottom" animation that [UIViewController presentModalViewController:animated:] performs but without calling it because I don't want a modal view. The below core animation code comes very close but appears to be changing transparency values of the views during it. At the start of the animati...

UINavigationController navigation stack problems in Landscape Mode

I have a iPhone application that I am currently converting to a Universal Binary to work with the iPad. I have successfully implemented everything I need in terms of layout so that full landscape functionality is now supported in my app (previously I primarily used portrait mode to display content). But, I have one strange problem, and ...

UITabBarController rotation problem with popViewControllerAnimated and selectedIndex (iPhone SDK)

Hi! This is a very important auto rotate issue and easy to reproduce. My application has a UITabBarController. Each tab is a UINavigationController. Auto rotation is handled with normal calls to shouldAutorotateToInterfaceOrientation and didRotateFromInterfaceOrientation. The interface rotates normally until I call UIViewController.p...

Is there a way to stop a UIViewController from being popped from a UINavigationController's stack when the backBarButtonItem is tapped?

I have a UINavigationController with a root view controller and then I push a UIViewController onto the navigation controller's stack. When the user taps the backBarButtonItem I'd like to be able to have an alert view pop up if there are certain conditions met and cancel the pop of the view controller. For example, the user can make ce...

iPhone: Pushing View Controller causes Slow and Jerky Keyboard Animation

I have a model-view-controller design app with more than 20 views and imageviews. In one view, I have a textfield that gets set to first responder when the view displays such that the keyboard is immediately visible. When I push this view onto the navigation controller the display of the keyboard is very slow and jerky. However, when ...

Need to dealloc all views in navigation controller

Hello, I'm trying to set up an in app purchase and once the purchase has been made I need to reset the app to its initial launch state. I'm wondering if there is a way to dealloc all the view controllers inside of each navigation controller and reload the initial view that is displayed when the app launches. Thanks in advance! ...

How to popViewController from button click of custom UITableViewCell

I have a button in a custom UITableViewCell. Its UITableView is controlled by a UIViewController. I would like to return to the RootView when that button is clicked. I am trying to use [self.superview.navigationController popViewControllerAnimated:YES]; in the target Action of the button, which is in the UITableViewCell.m file. How...

How can I dismiss the view appeared by touching Add item in UINavigationController ?

I have added add(+ symbol button) button to my navigation controller. When I click it a view appears from bottom. I added a navigation bar and two buttons to it. One save and one cancel button. And the view have one textEdit box. After editing I can save or cancel. If I touch cancel I need the view to disappear like it should go dow...

UINavigationController reset inner UIViewControllers

Hi, I have very unique problem. My app has UINavigationCnotroller with a set of UIViewController's. Most of the time everything goes fine but at some point, when I press Back button, the UIViewController to which I return suddenly reloads. i.e. the loadView called second time and the interface becomes squashed.. Prior to this I had UITa...

UINavigationController crashes after pushing 3 views onto stack

I have a navigation controller, which has the following structure: Category Item Item Detail I can choose a category, and then choose an item to see its details. I can do this twice, i.e. go Back to the list of items and select another item. If i try this a third time, the app crashes, I get objc_msgSend in stack but thats...

Tapping CalloutAccessoryView to load detail View Controller

I have added a CalloutAccessoryView to my Pin Callout, and when i tap it, although my detail view is created, and the pushViewController:animated method is called, the view does not appear, and stays on the map view. My rootController is a UITabBarController, and i have a reference to my navigation controller in the app delegate, so cal...

How do I rotate only some views when working with a uinavigationcontroller as a tab of a uitabbarcontroller

Here is a flow that I can not figure out how to work. ( when I state (working) it means that in that current state the rules for orientation for that view are working correctly) First View: TableView on the stack of a UINavigationController that is a tab of UITabBarController. TableView is only allowed to be portrait. (working) When yo...

Why is uitableview underneath my uinavigationbar

I have a UINavigationController with a UIViewController (vc1) as the "root view controller". There are 3 views in the UIViewController: HeaderView(UIViewSubclass) UITableView (custom frame) FooterView(UIViewSubclass) The reason that the header/footer view are separate from the uitableview is because they need to be stationary a...

Trying to understand NavigationController retain count for ViewControllers on its stack

I have an UITableViewController as the rootViewController for my navigatorController. When I press a table cell I do the following: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { MessageHistory *msg = (MessageHistory *)[[self fetchedResultsController]objectAtIndexPath:indexPath]; Conversa...