uitabbarcontroller

Passing objects in tabbarcontroller

Hi everyone, I'm developing a tabBarController-based application, and I'm not able to pass information from one tab to another. Each one is a different class, and I would like to generate info with one tab and store it in an instance of a different class, then pass this instance to a different tab, and use that info, or generate and sto...

UIViewControllers - TabBarApplication - iPhone SDK

Hello everyone, I am very new to the iPhone SDK. I need to know if in a tab bar application I need to make UIViewController classes. For example, when I make a new tab bar application there is a default FirstViewController class (.h, .m) already there. Now if I have code on the second tab, would I need to create a SecondViewController c...

iPhone Tab Bar App With Registration View

Hi! I'm a relative newbie on iPhone app development but have successfully created a tab bar app with 4 tab bar items. I would like to have a one-off registration page for users to key-in information when they open the application for the first time. The registration page should load before the view with the selection of tab bar items loa...

Is there a way to disable a UITabBarItem from reloading its first view?

Hi All, I currently have an app that is a tab bar style app and supports rotation. Everything is great until you hit the tab bar when the device is in landscape and the original view is reloaded and placed back on screen. There is a lot of space and the overall appearance doesnt look good. Is there a way to disable this tab bar item fro...

viewDidAppear for tabbar based apps

I'd like to do something when a particular tab appears. Meaning, the user has clicked the tab view's tab button. viewDidAppear doesn't fire when this happens. How else can I hook into the tab click event? ...

iPhone: Using a Singleton with Tabview Controller and Navigation Controller

Hi Friends, I have developed a small iPhone application by using singleton that I use to navigate through the views. Here is a sample method from my singleton class. + (void) loadMenuController:(NSMutableArray *)menuItems{ MenuViewController *menuViewControler = [[MenuViewController alloc] initWithNibName:@"MenuViewController" bun...

popView from UITabBarController inside UINavigationController

Hi, I'm building an application based on the Utility template from Xcode, to which I have added some more views. My application structure would be as follows: MainView (the app menu) Flip-side view (a calculator) UINavigationController Settings view viewDiDLoad: UITabBarController - Tab1 view (options) - Tab2 vie...

Tab Bar disappears below the bottom of the screen

Hi, In my application I'm using a Navigation Controller to push one view that loads a Tab Bar Controller and a custom Navigation Bar as well. The problem is that the Tab Bar disappears below the bottom of the screen, and I don't know what's causing the problem. If I load a simple Tab Bar in the next view, it positions itself correctly...

Limiting landscape views in UITabBarController containing UINavigationController

I have a tab bar application that contains navigation views in 2 of its tabs. I would like 1 view in the 1 navigation controller to allow landscape view but because of the nav bar in tab bar limitation I now have to allow landscape views for every single view in my app to make the tilt messages get passed to my app which I don't want. I...

iPhone SDK - UITabBarConroller and custom design

Hi I am having a problem with my tab bars at the bottom of the screen. The designer has decided it should be one colour (not black) when inactive and another colour when active. I have worked out how to replace the main colour of the tabbar by subclassing UITabBarController and doing this:- - (void)viewDidLoad { [super viewDidLoad]...

A little bit more complicated multiview App for Iphone

Hi, i'm new to iphone development. I spend several days by looking for how write muliview app for an Iphone OS. I found how to switch the diferent views without navigation hierarchy (in this article). It's great, but i want more complicated function. For example, i have three diferent views (view 1 - 3) and i can switch between them w...

Handle a More Navigation Controller in an Interface Builder based TabBar Application

Hi, I'm still not clear on how and when to use interface builder. I have a tabbar-based application, in which I added 6 navigations controllers. Instead of having 6 tabs, I would like 3 plus a "More" tab which allows the user to configure the tabs he wants. Is there any way to do that with IB ? And if not, how can I move from IB to a c...

Converting a navbar to a tabbar app

Hey guys, I was wondering how to convert a NavigationController style app into a TabBarcontroller style app. I changed my mainwindow to not contain a navigationcontroller anymore (but a tabbarcontroller instead) and my delegate also appropriately, but when I launch the app something still thinks I want a navigationController: Termin...

How to change background color of view that appears when edit button is pressed in the more section of a UITabBarController?

Hi How to change background color of view that appears when edit button is pressed in the more section of a UITabBarController? Thanks ...

UITabBar with UINavigationController in code

Hi Everyone, I've currently got a UITabBar with 5 screens calling UIViews. That part works fine but I want to put in a UINavigationController in a couple of them. I have found a few tutorials that work fine but all of them implement it in IB and I want to avoid that if possible. I'm lost as to where to implement the UINavigationContro...

Re-Add tabBarController's view into window and the device is in landscape mode

Hello, I have an app that is a tabBarController based app. I have 4 tabs on it and one of these is for logging in/out in my app. The main ideea is that when I logout, I release the tabBarController (this will release the all 4 view controllers too - I have done this becuse I want to refersh all the views after logging out to look just...

stop user changing tabs till app loads fully

Hi guys, im my app i have had to thread the loading of xml so the app loads and does not get kicked out by the os , but that also means that when the app loads and , the user selects one of the tabs that is still loading, it crashes. is there any way i can stop them changing tabs till the app is fully loaded? Thanks ...

tabbarcontroller as a subview

Hi I have a main view screen with navcontroller in my app with two UIbuttons. Now i want that when I press one button a subview will be pushed. this I know how to do. The problem is that I want this subview to be with tabbarcontroller. I know how to implement tabbar on the main views (within the app delegate), but I have really hard time...

iPhone: TabBarController as second level of Navigation Controller

I'm new to iphone development. I've read tutorials about implementing a tab bar controller on the window (eg as the main controller for the app). But how can I create a tab bar controller as a 'standalone' UIViewController that can be called by a navigation bar controller? Basically my navigation bar controller has an array of UIView...

UITabBar inside UINavigationController programmatically?

Hi all, Im writing an app that has a navigation controller as it's main menu system but I need to be able to have a UITabBar appear inside the navigation controller when the user clicks one of the buttons on the main view. I have written everything programmatically so far so would like to keep it that way if possible. So basically, how...