uitabbarcontroller

Switching between TabBarController Views when event fired

I have a UITabBarController with two different views to switch between. What I would like to do is when a button is clicked in View1 to switch directly to View2. Then in View2 if they click a button it switches them to View1. It transfers between View1 and View2 when they click on the tabBarController fine but I'm trying to perform the ...

How to set interface method between two viewController to pass paramter in Navigation Controller

Hello, I have created Window based application, root controller as Tab Bar controller. One Tab bar has Navigation controller. Navigation controller's ViewControlller implementation, I am pushing Viewcontroller. I am looking to pass parameter from Navigation Controller's View controller to pushed View Controller. I have tried to pass a...

Go from a ViewController, to an other section of a TabBar

Hi, I'm currently doing an application with 5 View Controllers and a tabBar on the bottom. For this application, I need to set up a button in viewController(1) which can send me to an other viewController(3), but without touching the tabBar (it will be hidden for the viewController(1)). So when I gonna click the button, it will send m...

Problem With Views Inside of TabBars (iPhone)

I have a UITableView that I am placing inside a TabView. I am trying to put a "spinner" and a label in the center of the TableView. When I view I try to view it inside the TabBar, I do not see the spinner or label. When I view this nib by itself, I see the spinner and TabBar. There seems to be something about views / tabbars that I am ...

iPhone app with tab bar and navigation bar as peers

I'm trying to write an application that uses a navigation bar and tab bar in what (I'm gathering) is an unusual manner. Basically, I've got several "pages" ("home", "settings", etc) that each have their own tab. I'd also like to have it so that the "home" page is the root view of the navigation bar, and the other pages are the second-le...

Share background view between tabs on a UITabBarController

Is it possible to have the same background between tabs on a UITabBarController without having to set the same background on all the views? I want to put a view in the background that periodically does a very short, non-resource intensive animation. When switching tabs, I'd like that animation to persist. I've read how to do it for UINav...

UINavigationController creating a blank view out of thin air?

Ok, this one is really weird... I can't show code for it exactly cause it follows a pretty snake-like pattern through subclasses etc, there would be a pile of it. The important parts are that I push a view controller, which during viewWillAppear pushes another view controller onto the nav controller. My nav controller is an item in a t...

Tab Bar Application, one UITableViewController with different data.

I have a Tab bar App with four tabs. Each tab loads the same UITableViewController. I would like to fill the table based on which tab is tapped. How? ...

Add views to "more" tab item

Is it possible to change appearence of "more" item in TabBarController? For example can I add custom views and change layout of tableView containing "more" controllers list? ...

How to hide tabbar for some pages and make it visible again?

I've got an application that uses a Tab Bar Controller along with a Navigation Controller.But for some pages I want to hide both bars(Tab & navigation) after that those will be visible again...I am able to hide navigation bar & also done with making. it appear after some pages. I am able to hide tab bar with - (BOOL)hidesBottomBarWhenPu...

iPhone Tab Bar application crash

I have an application that uses a tab bar and whenever it launches it crashes and gives me the following error and stack trace: 2010-04-22 16:15:03.390 iCrushCans[59858:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIWindow 0x3e051a0> setValue:forUndefinedKey:]: this class is not key value coding...

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...

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...

Showing login view controller before main tab bar controller

I'm creating an iPad app with a tab bar controller that requires login. So on launch, I want to show a LoginViewController and if login is successful, then show the tab bar controller. This is how I implemented an initial test version (left out some typical header stuff, etc)... AppDelegate.h: @interface AppDelegate_Pad : NSObject ...

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...

How to se UIImagePickerController (Camera source) inside UITabBarController

Hi I want to set UIImagePickerController inside my UITabBarController but I want it to be from source: UIImagePickerControllerSourceTypeCamera How can I set this? I added a controller to UITabBarController and set it as UIImagePickerController, but I cannot find a option to set it to be the Camera In Interface Builder. I just found Pho...

View controllers inside tab bar controller not auto-resizing on rotation

(Correction: the view controllers are not auto-resizing instead of not auto-rotating.) In an iPad app, I have five regular view controllers (not navigation controllers or anything like that) inside a tab bar controller. The tab bar controller is just a plain UITabBarController declared in the app delegate. All the view controllers ret...

Where is the best place to run initialization code for a UITabBarController?

I have a UITabBarController in my application. I have to perform some customization to the NIB file using code the first time a view embedded in that UITabBarController gets loaded. When applicationDidFinishLaunching occurs, the UITabBarController's views apparently are not loaded -- if I try to modify the view controllers inside a tab...