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

Header in the first section of UITableView shows with a jump

I've got a strange bug with header in static grouped table view. It shows only once transition animation ends (apparently on didMoveToParentViewController). UISplitViewController is the root view controller. Example project can be downloaded here.…
Terry
  • 339
  • 4
  • 5
0
votes
1 answer

Change Detail View controller on Master View controller item click UISplitViewController

I have a UISplitViewController, with a master viewcontroller which is a table and a detail view controller. I have implemented it as so:- MainViewController.cs public override void ViewDidLoad() { UpdateView(masterVC,detailVC); } …
0
votes
1 answer

Change detail transition animation UISplitViewController

I have a UISplitViewController. When run in compact mode the detail views are "pushed" onto the navigation stack like pages (with the back button in the navigation bar). I would like to simply change the page transition animation from a push from…
0
votes
1 answer

How to have UISplitViewController appear the same in both orientations

I am writing my first tabbar iPad application to which split view controller is added. Everything is working fine but the problem is I am trying to display the root view controller and detail view controller whenever the view gets loaded in portrait…
0
votes
0 answers

Update a table in the detailview of a uisplitviewcontroller

So I have a UISplitViewController and in the DetailView I have a UITableView. What I want to do is take the selected cell from the root view controller and append it to the string which is populating my tableview in the detail view controller. I can…
0
votes
0 answers

Use UITabBarController in UISplitView

I know this question was asked before, but non of the answer is working for me, so I am asking it again if some new ideas come up. I have UISplitView controller in universal app, and in master view controller I need TabBarController, like this My…
Marko Zadravec
  • 8,298
  • 10
  • 55
  • 97
0
votes
1 answer

Display master view programmatically from detail

I am using swift I am using UISplitView. I have a button on the detail page that when clicked, I would like the master view to display. I have tried: self.splitViewController?.preferredDisplayMode = UISplitViewControllerDisplayMode.allVisible but…
lascoff
  • 1,321
  • 4
  • 17
  • 35
0
votes
0 answers

Viewcontroller views needsdisplay very slow

I seem to be having the exact opposite problem that pops up my question searches. I have a splitViewController that seems to be having a slow time updating its master view, after I call setNeedsDisplay. Eventually the update request gets drawn, but…
0
votes
1 answer

splitview controller loaded in portrait and then to landscape

I am dynamically removing a view and adding a splitviewcontroller. I have problems in landscape mode. When I do the same loading in landscape mode the view is first loaded in portrait and then it is turning to landscape mode. Is there a way to solve…
thndrkiss
  • 4,515
  • 8
  • 57
  • 96
0
votes
0 answers

Swift, Error when clearing tableview in Master Detail with Core-data, tableview loads cells with non-existent entities?

I am currently learning Swift 3 for an Assignment. I have created a master-view prototype in Xcode. It loads one entity from Core-Data (a custom Event) using custom cells (just two labels for a name and timestamp). currently it deletes all existing…
rask004
  • 552
  • 5
  • 15
0
votes
0 answers

How do not Allow user to toggle master View from specific view

In split view, How do not Allow user to toggle master View from specific view ? I want the master to be always hidden even user try to dragging
Sam
  • 243
  • 3
  • 12
0
votes
1 answer

Releasing subviews

I'm fairly new at programming for iOS, and I am experiencing a problem with an iPad app I'm developing. I am using a splitview controller to add a subview to the splitview's detailview every time a cell in the splitview's rootview is tapped. This is…
0
votes
1 answer

UISplitView On iPad - Have I The Correct Structure?

Trying to introduce a UISplitView into an existing application based off a TabBar Controller to run on an iPad only. I have the 'master' view displaying, but the 'detail' view won't show. I have attached a schematic on how the Storyboard looks. Do I…
Fritzables
  • 257
  • 1
  • 4
  • 10
0
votes
1 answer

Show MasterView first instead of Details

I have a splitview with Master (showing table view) and Details (Showing detail data). When I launch my app it shows detailview first with no data but I need to show masterview first. I know that there are some answers but nothing works for me. Any…
Phyber
  • 1,368
  • 11
  • 25
0
votes
1 answer

How to hide the master view if navigate to new view controller from detail view controller

I want to hide view if user click on button in details view controller to push new VC I tried this line work when push new view put when pop view the master never appear self.splitViewController?.preferredDisplayMode =…
Sam
  • 243
  • 3
  • 12
1 2 3
99
100