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
2 answers

UISplitViewController with nav stacks in both master and detail - how to remove a VC from one of the stacks?

I am debugging legacy code which is always fun. The old code tried to mock the splitView delegate methods, causing all sorts of issues - mainly crashing: on a Plus device in Portrait, rotating to landscape caused the crash - if there was no detail…
0
votes
1 answer

Can UIDocumentInteractionController be presented in SplitView?

I wan't to create an iOS app that has a SplitView much like the DropBox app. On the master side there is a file explorer and detail view would display file previews using UIDocumentInteractionController. So far I have not found any other way to…
0
votes
1 answer

UISplitViewController And ModalView

I'd like to know simply if it is possible to present a modal view controller in an iPad application that is using the UISplitView Controller. Thank You EDIT: This is the code: NewPlayerViewController *newPlayerView; newPlayerView =…
IssamTP
  • 2,408
  • 1
  • 25
  • 48
0
votes
2 answers

How to set a tabbarcontroller as rootview controller of UISplitViewController

my application needs the design similar to sybase ipad app which is here YouTube - Sybase Mobile Sales for SAP CRM on iPad How can I set a tabbarcontroller as rootview controller of UISplitViewController. When I try to do this, 8 tabitems are…
0
votes
0 answers

Present Modal VC from SplitviewVC's Detail (iPad only) slow performance

Background My app (iOS 9.3.5) is based on a UISplitViewController. The detail VC is a tableView. When a row is selected, I want to display a modal VC. Problem On an iPad (not an iPhone), the first time a row is selected it takes too long (4…
AgRizzo
  • 5,261
  • 1
  • 13
  • 28
0
votes
3 answers

How can i display the data of the selected row from the tableview in the detail view in a splitview controller?

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…
Neha
  • 681
  • 2
  • 9
  • 15
0
votes
1 answer

Loosing tint in iPad app after splitter popup activated

I have applied a brown tint to the app. When I select the popup then switch back to landscape view, the app goes back to the default tint. Is there a way to stop that. here's a few screen shots in order: 1: looks good 2: Activate popup 3: Looses…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
0
votes
1 answer

iPad Splitter - Popup Tint

I am trying to tint my UI to a nice brown. The pop up associated with the splitter is blackish-blue. How do I change its tint to the one I have applied to the rest of the app? Here's a picture: When I change the tint in IB it then looks like this:
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
0
votes
1 answer

Why is title not showing in Navigation bar? Swift 3

The titles in the DetailViewController and RootController1 do not show. Also when back button is pressed in DetailViewController, it pops to RearTV instead of popping to RootController1. Can anyone tell me how to customize the titles of the…
0
votes
1 answer

iPad: SplitViewController with navigation

I'm following Apple sample code "MultipleDetailViews" but what I want to do is that: at start, shows the RootViewController (table view) display the default detailViewController (1st detailView) when user selected a table cell, push into the stack,…
jayr parro
  • 286
  • 3
  • 18
0
votes
1 answer

Navigation Controllers disappearing in UISplitViewController

I currently have my app set up in a split view controller such that the details view and the master view both have navigation controllers, and the details view has recursive segues between it and another view. I use show segues, so I would figure…
0
votes
1 answer

Swift iOS- Trigger action when SplitViewController's displayModeButtonItem is tapped

I have a SplitViewController and I'm implementing: myNavVC?.topViewController?.navigationItem.leftBarButtonItem = splitViewController?.displayModeButtonItem myNavVC?.topViewController?.navigationItem.leftItemsSupplementBackButton = true I use it to…
Lance Samaria
  • 17,576
  • 18
  • 108
  • 256
0
votes
1 answer

UISplitViewController's detailView (UIWebView) size on orientation change?

I have a UISplitViewController which has a UIWebView assigned to its detailedView. The problem is that the UIWebView's content it is not resizing when I change the orientation. I have added the meta tag to the loaded html
Horatiu Paraschiv
  • 1,750
  • 2
  • 15
  • 37
0
votes
1 answer

Master-detail UISplitviewcontroller added as one of the tabbar items - Show Master

I have 5 tab bar items. Fifth item is a UISplitViewController. In Potrait mode, on app launch i get to see the detail screen and not the master. I am expecting the master. In landscape mode, master-detail works fine. I add the master-detail to the…
0
votes
1 answer

How to make UIPopoverController visible at startup in portrait orientation?

I'm making an iPad application using a UISplitViewController. I want the masterView visible in a UIPopoverController when the app starts (and only when it starts) in portrait mode. If I use the…
Vincent Osinga
  • 1,043
  • 7
  • 15
1 2 3
99
100