ipad-splitview

How do I get toolbars on UISplitView detail & root views?

I'm porting my iPhone app to iPad. I have a bunch of detail views that derive from UIViewController and implement UITableViewDelegate. (Basically TableViews but not derived as such). The old app used TabBar, but now I'd like to use SplitView with toolbars on the Detail and Master views. How do I enable a toolbar on my UIViewControlle...

iPad Split View Controller - Master View and Detial View contain TableViews

Hi, I've managed to read some values into a table view and display them in the Master View of a SplitViewController. What I would like to do is to tap on a row of the Master View and display the details on the detailViewController but in a TableView. When I tap on the row in the MasterView table, I can't seem to get the detail to po...

twitter multiple account

hi any one know how to have multiple twitter account in one iphone application using objective c. Is there any session concept is there. Am currently using MGTwittEngine API. Any one please guide me, with possible sample code. Thanks in advance. ...

How do you bring an Image View below a Text View on the iPad? (On the iPad)

How do you bring an Image View below a Text View on the iPad? Somehow I have an Image View on top of a Text View and you can't see the text! ...

Why check if your popoverController is nil? Doesn't Obj-C ignore messages to nil?

Pretty much everyone that writes about the UISplitView on the iPad uses the following code structure to dismiss a popover: if (popoverController != nil) { [popoverController dismissPopoverAnimated:YES]; } I though Objective-C was happy to ignore messages that are passed to nil? In fact, in the File > New Project > New Split View A...

How to update Root view based on selection in detail view in split view based ipad App?

I have used Split view controller in which root view as well detail view both inherits table view. I want to update Root view based on selection in detail view how to do that? I dont want to add new navigation view in root view. Please help as early as possible. ...

Change the width of Master in UISplitViewController

Hi, The iPad programming guide says that the splitView's left pane is fixed to 320 points. But 320 pixels for my master view controller is too much. I would like to reduce it and give more space to detail view controller. Is it possible by anyway? Edit: Link to the document which speaks about fixed width - http://developer.apple.com/ip...

Toolbar hiding on rotated UISplitView DetailView

I've based my app on Apple's SplitView project type. I have a TableView as the Master, and am using different types of views as the Detail view. To select types of detail view, I'm using the fancy concept of buttons on my DetailView toolbar. When the DetailView is derived from UIViewController, everything is good. When the DetailView...

Referencing a View from another View in InterfaceBuilder

Is it possible to position a view defined in a XIB as a subview in yet another view in that same XIB file? Alternatively, is there a way the "subview" can be defined in another XIB file and positioned in the first view in a different XIB? I've figured out how to do this for UIViewControllers but not for UIViews. Has anyone figured out ...

How to setup UISplitView with a navigation controller in the detail view

So just went through this tutorial: http://icodeblog.com/2010/04/05/ipad-programming-tutorial-hello-world/ Now what I want to do is setup the detail view as a navigation controller. The question is how? My first inclination is to have the DetailViewController extend a UINavigationContoller. Is that the best approach? If so does the a...

How should I load a xib into a detail view for a split view iPad objective app?

I've got a split view iPad app with table view in the master pane. After drilling down several levels, each time loading a new .xib, I'd like one of the cells to trigger a web page load in the detail pane. Right now I can only get the web page .xib to load in the master pane side -- which is a master pain in my side. The basic load cal...

Changing iPad splitview gutter width

When running in simulator, I can set the gutter width by subclassing UISplitViewController, and doing something like this: (void)viewDidLoad { _gutterWidth = 2.0; self.view.backgroundColor = [[[UIColor alloc] initWithWhite:0.2 alpha:1.0] autorelease]; [super viewDidLoad]; } That works great, except that it won't link when I try t...

How to create two sections of the same screen using a custom view controller

I was wondering if someone could tell me how to create a custom view controller which will split the screen into two sections and manage the sections seperately in the same manner that the iPad Zillow app does this? See http://www.zillow.com/ipad/ if you are unfamiliar with the app. Thanks. ...

How do you switch to a split view. If you don't start with one.

I'm looking to find out how to switch to a UISplitView from another view. The user will click on a button and the Split View should open. I'm having no luck at all. I start with a normal view and when the user clicks on the button i try to switch to the split view by removing the current view and initing the split view controller. I wo...

Can we set splitsview with tabbar?

Can we set splitsview with tabbar? In detailview i want the tabbarcontroller. is it possible? ...

prevent a detail view from loading again on ipad?

I am using a split view controller and I am pushing views to the detail controller once a selection is made on my table view controller. This works great except I can keep clicking the same choice over and over and it keeps getting added to my navigation controller stack so I end up with and endless stream of back buttons which is prett...

Substitution of detail view controller does not cause viewWillAppear to be called

Hi there! I'm porting my iPhone app to iPad. On iPhone I select row in the table, and after that the next view controller is pushed to the top of navigationController (now navigation is performed on the left part of split view controller). For iPad i modified the code this way: if (deviceIsIPad()) { UISplitViewController *svc = (UI...

Split-View Based Application - Navigation in RootViewController

Solved Hey all, I'm currently working on a Split-View Based Application for iPad. I want the Root View Controller to navigate to another TableView, and from there, the users can select the appropriate row and display the information in the DetailViewController. I managed to code the navigation part in (The Root View Controller navigate...

Hiding a button in a UIPopupview for SplitViewController

First: The error. I'm getting a app termination because of a NSInvalidArgumentException, the reason being that "Popovers cannot be presented from a view which does not have a window." Now, an explanation of what's going on: I've got a button on the RootView of the SplitView that removes the SplitView as the main view of the Window, a...

How can I resize a split view on an iPad app?

I am trying to have a SplitView pop up on top of the current view but I don't want it to cover the whole screen so that the user doesn't feel he/she is taken elsewhere. I would imagine that the size can be specified from Interface Builder, but there are no size options on a UISplitViewController, and I can't seem to put it into another ...