Questions tagged [uisplitviewcontroller]

The UISplitViewController class is a container view controller that presents a master-detail interface. In a master-detail interface, changes in the primary view controller (the master) drive changes in a secondary view controller (the detail). The two view controllers can be arranged so that they are side-by-side, so that only one at a time is visible, or so that one only partially hides the other.

The UISplitViewController class is a container view controller that manages the presentation of two side-by-side view controllers. You use this class to implement a Master-Detail interface, in which the left-side view controller presents a list of items and the right-side presents details of the selected item. In iOS 8 and later, you can use the UISplitViewController class on all iOS devices; in previous versions of iOS, the class is available only on iPad.

After creating and initializing an instance of this class, you must assign two view controllers to the viewControllers property. The split view controller has no significant interface of its own because its job is to coordinate the presentation of its two child view controllers and to manage the transitions among different orientations.

A split view controller supports the same interface orientations as its currently visible child view controllers. Both view controllers are displayed in landscape orientations but only the detail view controller is displayed in portrait orientations. When transitioning between orientations, the split view controller sends messages to its delegate object to coordinate the display of a popover with the hidden view controller. For more information on the methods of this delegate object, see UISplitViewControllerDelegate Protocol Reference.

2116 questions
0
votes
1 answer

SplitView application like Mail application of iPad

Hi i am very new in the iPhone/iPad technology i want to built an Navigation based application like Built in iPad mail application ? can any one give me sample code for this?? I want to Navigation but i am unable to understand this how to…
user532445
  • 723
  • 2
  • 13
  • 28
0
votes
1 answer

Navigationbar with searchbar will not show large title

I have a UISplitViewController with a UINavigationController as the masterviewcontroller. This UINavigationController has a UICollectionViewController as its rootViewController. In the UICollectionViewController, I have set the following…
0
votes
2 answers

UITabBarController + UISplitviewController alternatives?

As this configuration is not supported I was wondering what alternatives people have used. I have a universal app which currently uses a 4 tab UITabBarController on both the iPhone and iPad. As I'd now like to use the splitviewcontroller I am faced…
iOSDevil
  • 1,786
  • 3
  • 16
  • 29
0
votes
1 answer

iPad WebView - Looking for Dock.Fill like behavior in UISplitView

How do I make view that is in a UISplitView (Detail side) fill its container. Similar to Visual Studio's Dock.Fill in Windows development? Must be done in code. The view is there already, just needs to grow to fill the container at run time.
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
0
votes
1 answer

Adding table view to detail view controller

I am in the process of making my first app. Right now I am trying to make a settings page. So far it looks like this. I have the split view controller hooked up to a master view controller and a detail view controller (code below). As you can…
Anthony Rubin
  • 69
  • 1
  • 1
  • 14
0
votes
0 answers

adding a table view to a split view controller

I am in the process of creating a flash card app. Right now I am trying to create a settings page for the app. I am using a split view controller which will display all the different word groups and there will be an on and off switch for each…
Anthony Rubin
  • 69
  • 1
  • 1
  • 14
0
votes
2 answers

Repositioning Master View display button in Split View Controller

As you know, split view controller hides the master view and displays detail view in full screen mode in ipad. In the full screen mode, ios creates a bar button for the master view on the navigation bar. My question is, is it possible to reposition…
KMC
  • 1,677
  • 3
  • 26
  • 55
0
votes
1 answer

iPad - UISplitViewController - unconventional use of UIViewController

I have a UISplitViewController and I'm using it somewhat unconventionally. My detail view, dView, has a reference to my master view, mView. I have a bit of code that is run every time the orientation changes. When it is in Portrait mode I set…
RyanJM
  • 7,028
  • 8
  • 60
  • 90
0
votes
4 answers

Present view controller within details view controller of master details view controller in swift 3

I have some problem to present a view controller within details view controller of master details view controller. Is it possible to do that? I want to present a view controller when the user taps a button on details view controller exactly like…
Tanvir Nayem
  • 702
  • 10
  • 25
0
votes
1 answer

UISplitViewController - Tapping on cell in master view controller causes segue in master view controller and not in detail view controller

I'm working to migrate an existing project with a standard table view to use the UISplitViewController methodology. The standard table view is also linked to a Tab Bar Controller. The hierarchy is as follows: Tab Bar Controller >…
0
votes
3 answers

UISplitViewController non root, forcing custom rotation methods, makes master view dissappear

I'm trying to add a split view inside of a tab bar, and since the split view isn't the root, it doesn't properly get the rotation notifications, so the delegate's methods are never called to add the button to the toolbar in the detail view. I've…
r36363
  • 589
  • 4
  • 15
0
votes
2 answers

Present UIViewController at startup for an animating launch screen in UISplitViewController

I have a UISplitViewController for the rootViewController ! I don't know how to present a UIViewController for the animated launch screen ! In AppDelegate.swift I have: class AppDelegate: UIResponder, UIApplicationDelegate,…
0
votes
1 answer

UISplitViewController with UIPopoverController crashes on rotate

When using a UISplitViewController in portrait , I have a settings popover that I display. If I rotate the device to landscape while the popover is displayed, the app crashes. This is because the IPad can only display one popover at a time, and the…
0
votes
1 answer

Split Controller master table view pushes to master nav stack not detail

I am trying to set up a very basic Split View Controller. The left side (master) is a table view, which when a row is tapped, I expect to load details into the right side (detail). I do not know what I'm doing wrong. I have an example project that…
0
votes
3 answers

IOS4 UISplitViewController in Portrait Orientation with RootViewController showing like Landscape

In IOS 3.2 I was able to display my UISplitViewController side by side like in landscape mode. In IOS 4.2 the RootViewController (MasterView) is not showing up in portrait mode. Does anyone know if we need to display the rootviewcontroll in a…
Arcadian
  • 4,312
  • 12
  • 64
  • 107