uitabbarcontroller

UITabBarcontroller, UITableView and pushView

Hi All! I have a UITabBarController with a set of tabs. Some of them, when selected, show you a table. The cells of the table, if touched, bring the user to a detail screen of the object in the cell itself using a "pushViewController". When I click to a different tab, and I am in the detail page, I see the new tab page. And this is fin...

UITabBarController - how to make "no tabs" selected at start up ?

Hi, Is there any way in iPhone to unselect all tabs of a UITabBarController ? ie, my application has a "homepage" which does not belong to any tabs on the below displayed tabbar. Now when user touches any tab on the tabbar, I would like to load the corresponding tab. Is this possible ? I have already tried: self.tabBarController.tabBar...

popToRootViewController - notification

I have a tabBar controller. Tapping the active tab, by default, calls popToRootViewController on that tab's navigation controller. That is what I want, but I also need to do some customization when this happens. The view controller in question has a nav controller, but is not a subclass of UINavigationController. How can I listen for whe...

Passing a managedObjectContext through to a UITabBarController's views

I have an app which is based on the Utility template (where you flip over the view to see another). On the first view there is a login screen, then it flips over to reveal a UITabBar style interface. I'm having trouble working out how to pass the managedObjectContext from the App Delegate (where it is created) all the way through to eac...

How to reload all the tabs in UITabBarController

Guys, Here is the scene - My app is a login based app and I am using UITabBarController in my app, so I add UITabBarController after login successful (in appDelegate.h file ). There is also an option to continue without login. In one section I am showing an UIAlert to user to login to access a particular feature. When user press login...

Can I use UITabBarController as a simple viewController switcher?

Hi, I'm creating an iPad app based on a UINavigationController (with the bar hidden) so I can push and pop other viewControllers for navigation around the app. However, I am now wanting to add a section in which there are two viewControllers that I want to be able to switch between, so in other words they are side-by-side, rather than h...

UITableView not populating in Tab bar iPhone application

I have a tab bar application which loads a UITableView when one of it's buttons are selected. It seems to load the view controller however it doesn't seem to be populating the data. I have tried setting the cell.text = @"cell" (while setting the number of rows > 0) and an NSLog in the CellForRowAtIndexPath proves that in fact the functio...

willAnimateRotationToInterfaceOrientation not being called in one subview while another is visible and rotated.

Hello all. I have 3 subviews in a UITabBarController. The first tab's view has objects which are manually moved when willAnimateRotationToInterfaceOrientation is called. However, if another tab's view is visible on rotate, willAnimateRotationToInterfaceOrientation is never called, and the items on the first tab's view are not in the rig...

Adding a UITabBarController to a UIViewController

Hi all, long time lurker first time poster :) I've been gradually skilling up on iPhone dev and have run into a hiccup - heres hoping someone out there can help me out. I have made a very simple Navigation based app (UIViewController). The view has a single button on the Main RootViewController. Next, I made 2 classes: TabOneViewContro...

UITabBarController - detect when tab is UNselected

If you have 4 tabs, what is the best way to inform one of the view controllers that it has been "deselected". In other words, that another tab was selected? I can't just use viewDidDisappear, because that may happen anyway. Is there another way for a view controller to know that it is no longer the active tab? The TabBar delegate (didS...

How do you make the "more" button of a UITabBarController return to the root view

Hi! I have a UITabBarController which has been created programatically. There are 6 tabs within the tab bar which has forced a more button to appear, which is great and works beautifully! Whilst testing the app, one of the testers raised a point. When they select the more button, then select one of the options in the more menu, the res...

Initialization for ViewController under NavController in TabBarController

I have the relatively common setup of a TabBarController whose tabs contain NavigationControllers which have TableViewControllers as their roots. I'm trying to perform some logic on initialization of one of these TableViewControllers but can't seem to find what init function gets called. My goal is to add a listener in the TableViewCont...

How to call method automatically when switching views in TabBar app with a single ViewController

My application uses UITabBarController with 4 tabs. Each tab will have a UIWebView along with other types of objects. When the app launches I need to call the method for this first webView to retrieve my web content. I have this method in my viewdidLoad: [self performSelectorInBackground:@selector(getAdvisory) withObject:nil]; The w...

How to hide tab bar programatically and then expand view to fit...

I got the code from this question: http://stackoverflow.com/questions/2257178/how-to-hide-tab-bar-controller-programmatically which is brilliant, however the view doesn't expand to fit the space left by the tab bar now. I have set the appropriate UIViewAutoresizingMasks to the view, but I'm assuming that just because its hidden doesn't ...

UITabBarControllerDelegate methods not gettning invoked

I have a tabbar based iPhone app, I have set the delegate for tabbarcontroller, but for some strange reason the delegate methods are not getting invoked. ...

Customizing UITabBarController appearance

I've been asked by a client to customize the appearance of the UITabBarController. This is for a private project which will not be released on the AppStore. Basically, I need to give it a different background, and different looking select tabs. Does anyone have any clues on how I could achieve this, short of not using the UITabBar altog...

how to change the color of the tabbarcontrol

Can any one help me out in changing the color of the tabbar controller in the iphone application. ...