uitabbarcontroller

iPad: How Do I Limit the Number of Tabs in UITabBarController?

I'm converting an iPhone app to a universal app, which leaves me with a UITabBarController as the root view controller for a UISplitViewController. That is, the tab bar appears at the bottom of the left-hand view when the iPad is in landscape mode. On the iPhone, the system automatically limited the number of tabs shown in the tab bar t...

UINavigationController from UIViewController

I currently have this workflow in a tab based app: Tab1 loads... ViewOne : UIViewController >> PickerView : UIViewController >> DetailView : UIViewController ">>" means loads based on user action. I'd like navigation bars on PickerView and DetailView. PickerView just needs a cancel button in the top left of its n...

viewControllers is empty array

Hi: I'm having a problem using the UITabBarController and can't seem to get anywhere... maybe someone has run into something similar. I have the typical Tab Bar + Navigation app and everything is working great, except when I access options in the More tab. On any other tab, if I log: NSLog(@"%@ \n %@",self.selectedViewController,[self...

How to hide parent tabbar when pushing controller in navigationController

Hi all, I have an application with a tab bar controller and each view contains a navigation controller. My MainWindow looks as follows: Everything works fine as it is but I noticed a problem when pushing a details view to the navigation controller. In the didSelectRowAtIndexPath for a tableviewcontroller that belongs to the tab bar c...

UITabBarController does not appear in view

I have a UIView that is pushing a UITableViewController that is contained inside of a UITabBarController. #import <UIKit/UIKit.h> @interface ARViewController : UITableViewController<UITabBarControllerDelegate> { IBOutlet UITabBarController* tabBarController; } @property(nonatomic,retain)IBOutlet UITabBarController* tabBar...

Is it possible to get the More Tab Item with a UITabBar?

Is it possible to automatically generate a More button with a UITabBar when there are more than 5 on screen? UITabBarController can do this, but I would like to use the UITabBar. ...

solution for different tab bars in other screen

Hi Guys I am finding the solution for my application. I create an iphone application have 3 screen: First screen not contain any tab bar. Second screen have 2 tab bar item. Third screen have 3 tab bar item. http://c.upanh.com/upload/7/719/L50.11932623_1_1.jpg If i create a UITabBarController -> the tab bar will be appeared from first...

pushing view controller inside a tab bar from app delegate, after a notification.

hi i have an app with tab bar and a navigation controller inside every tab. i have set a notification that when it lunches the user can get lunch the app by pressing the action on the alert. i want to redirect the user to one of the views inside one of the controllers. i have tried this: - (void)application:(UIApplication *)app didRe...

Change TabBarController in detail view

So I have a TabBarController with 2 views. One of the views is a TableView in navigationController. When user selects a row I push a detail view there. I want this detail view to have its own TabBarController different from the former one. So basically the question is if I can push a view on top different view with different TabBarContr...

Change the background color of "More" view controller

Hi, Is it possible to use an image or otherwise change the background color of cells in the "More" navigation controller of a UITabBarController? ...

Problem on autorotate for UITabBarController and modal views

I have a problem opening and closing of a ModalView: when the user touches the button to open the view, or when it touches the button to close it, appears this message in Console: The view controller returned NO from _shouldAutorotateToInterfaceOrientation: for all interface orientations. It should support at least one orientation. Th...

How to set the UITabBars items property when accessing through a UITabBarController?

Hi I have build a UITabBarController programmatically and populated its viewControllers property. When I run this the tabBar buttons are, of course, empty, I tried to access the tabBar property on the UITabBarController to set its items property to my text/images, which made the app crash. Going through the documentation for the UITabB...

UIScrollView in a TabBar controlled navigation - IPhone

I have a TabBarControlled view navigation and i want to display a UIScrollView in one of the Tabs, but whenever i click on this tab the error-code: ...this class is not key value coding-compliant for the key... appears. My code: Code: #import <UIKit/UIKit.h> @interface BillViewController : UIViewController <UIScrollViewDelegate> {...

UITabBarController with viewControllers utilizing different orientations?

Hi I can see that this is something that has been troubling a lot of people:/ I have a UITabBarController that has 4 viewControllers, all of type UINavigationController. One of the navigationControllers gets a viewController pushed onto its stack, this viewController should be presented in landscape mode/orientation. The viewControlle...

Is there a good UITabBarController Example?

Is there a good UITabBarController example where it is NOT created in the appDelegate? I would like to use a UITabBarController inside of a UIViewController, however dont know how to set the view outlet. ...

tabBarItem's title didn't appear

hi, i am using a tab bar in a view controller and in "viewDidLoad" method i declare it: normalView =[[NormalViewController alloc] initWithSigne:[[normalAstro objectAtIndex:signIndex]objectForKey :@"name"] andDescription:[[normalAstro objectAtIndex:signIndex]objectForKey :@"description"]] ; [controllers addObject:normalView]; chine...

How can I temporarily put a toolbar on top of the tab bar (without pushing a new view)?

I have a UITableViewController inside a navigationController inside a tabBarController; so far, so good. However, when the user clicks on a button on the navigation bar (at the top), I want to display a toolbar at the bottom of the screen with various actions that can be performed on the table. When I define an NSArray *toolbarItems and ...

UITabBarController "More" tab issues

I've got a UITabBarController with 7 tabs. Each of the 7 tabs has its own UINavigationController and customizes its toolbar. When a view is loaded via the UITabBarController's "More" menu its custom toolbar isn't appearing. If i switch the order of the views around so that the same view is now accessible from the UITabBar without goin...

Root view controllers and modal dialogs

In a custom UIViewController, if I have a member UINavigationController that I initialize with self as the root view, like this: navController = [[UINavigationController alloc] initWithRootViewController:self]; then presenting a modal dialog does not hide the tab bar at the bottom of the screen. The result is that if the user switches...

Getting a UIButton to send commands to another View Controller

Question.. I'm currently making a conversion app. I have for the first tab where the information is entered. Views 2 and 3 are where the information from view 1. I'm having an issue.. I'm not sure how to send the information from view 1 to view 2 and 3. I've looked at examples.. but I'm still not quite grasping the idea of it. any sug...