Hi guys,
I normally use UIViews to make my apps - but this one I am using a navigationcontroller. I am pushing a view to the top where I want to add items to an array. However, I cannot access the main navigation controller methods etc. Here's the set up
1) AppDelegate adds navigation controller
[window addSubview:navigationController...
At the end of this code:
UIViewController *viewController = [[UIViewController alloc] init];
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
[viewController release];
[self presentModalViewController:navigationController animated:YES];
[navigationController relea...
I have app with UITabBarController. First tab has UINavigationController and it is UITableViewController. I mean I have tabs at the bottom and in first tab I have a table with possibility to navigate to other views. After touching one of cells I call view with MKMapView
if([indexPath section] == 3){
LocationDetailViewController *dvC...
In Interface Builder you can drag a UIButton to the centre of a Navigation Controller, between the rightButtonItem and leftButtonItem.
I would like to do this programmatically, as i am not loading a xib.
I tried:
[self.navigationItem addSubview:myButton] // no luck
[self.navigationController.navigationBar addSubview:myButton] //no luc...
Hi all,
In my app, I'm presenting a modalviewcontroller as follows and I'm not able to change the navigationbar's title or any of its properties for that matter.
fullListTopCompanies *fullListTopCompaniesInstance = [[fullListTopCompanies alloc] initWithNibName:@"fullListTopCompanies" bundle:nil];
UINavigationController *cntrol = [[UIN...
Hi, I'm trying to use core data inside an iphone application, but when I launch the application I get this error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'An instance of NSFetchedResultsController requires a non-nil fetchRequest and managedObjectContext'
The code is this:
#import "CocktailC...
I have a navigation controller based app. My views consist of two tableviews laid out like this:
Category
Item within category
Basically i allow users to create the categories using the + button on the navigation bar. Then they select a category, and can then press the + button again to create items in that category.
My problem ...
I have a UIViewController that contains a UITabBarController with three tabs (each tab being a UINavigationController).
The problem that I am having is that in the simulator and the device, going from one tab to another takes a few seconds. I do not (yet) have a way to measure how long it takes, however, it is noticeable.
I wanted to ...
Hi all,
In my application the modal navigationcontroller that I am presenting is going under the current navigationcontroller so I'm not able to view the new navigationbar as it's disappearing under the current one.
I'm presenting the modalview on self and not self.navigationcontroller because self.navigationcontroller doesn't present ...
Hi all,
I have created a custom scrollable tabbar [scrollview with buttons over it] below navigationcontroller. I have two tabbars already in standard tabcontroller at the bottom. For the standard bottom tabs, I have created two navigationcontrollers in xib with two different nibs for both. I'm loading a tableview in one of the lower ta...
Hi,
I want to implement the navigation controller in iPad, I know that it is not possible in xcode to do the navigation controller in iPad, there is a thing in which I can enter the view controller and with the help of this we can do the coding of navigation controller.. If you have any tutorial regarding this then plz send it to me.. ...
I have a navigation controller in my app and on its root view controller i have an Edit button as the rightBarButtonItem.
I have a second table view which is pushed when a cell is tapped on the root view controller.
The leftBarButtonItem becomes the Back button.
I would like an Edit button as well, where can i put it that would make t...
I have a UIToolbar with an edit bar button on it. This is defined as
self.toolbarItems = [NSArray arrayWithObjects:self.editButtonItem,nil];
The edit bar item shows up, and but when i tap it, nothing happens, it does not change to Done and none of the editing controls show up.
I have implemented the following methods as i would like...
I have designed an application for iphone/ipad.My problem is that I am using single RootViewController for showing Category and Subcategory.
//Pop me to RootViewController Category Section From SubCategory in iphone/ipad
[self.navigationController popViewControllerAnimated: YES];
But in ipad my searchbar get hidden under the navigation...
I'm working on an app that has three table view controllers in a navigation stack. The root view controller and the second VC have toolbars, but I want to add a subview to the second view controller like this. (The color is just there for visualization.)
I want to add the view programmatically, since I haven't been able to do it with I...
In my iphone app, i've two view controllers. First one is a portrait and second one is landscape.
When app is started, it will show the portrait view. On click of a button in portrait view, the view transitions to landscape view. Here, i'm using navigation controller.
If both the views are portrait, pushing the next view via navigation c...
Hey,
In an application I'm developing, everything starts from a navigation controller, which then loads up several pages.
My question is, how can I load up a new view ABOVE this? The closest I've got is to do this in the App Delegate:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launch...
When a user clicks a link in the present UIWebView a new view is pushed onto the navigationController's stack that contains a UIWebView. I'd like to pass the URL that was touched to this new UIWebView. How do I go about doing this?
...
I have a very strange problem with UINavigationController on the iphone and I am banging my head against the wall on this.
Gist of it is I am executing a call to a server and when that call fails I swap out the current view with a view containing an error message. The code in question is called on the main thread by using performSelecto...
For some unknown reason I cannot push a view, I will try to explain the best I can but i have alot of complicated views going on, And it would be a nightmare to explain but say I have the following method.
-(void)showDetailView{
DetailViewController *detailView = [[DetailViewController alloc] initWithNibName:@"DetailViewController" bu...