Questions tagged [uisplitviewdelegate]

A uisplitviewdelegate is actually a UISplitViewControllerDelegate, which defines methods that allow you to manage changes to a split view interface.

From the docs:

A uisplitviewdelegate is actually a UISplitViewControllerDelegate, which defines methods that allow you to manage changes to a split view interface. Use the methods of this protocol to respond to changes in the current display mode and to the current interface orientation. When the split view interface collapses and expands, or when a new view controller is added to the interface, you can also use these methods to configure the child view controllers appropriately.

20 questions
4
votes
2 answers

Sometimes willHideViewController from UISplitViewControllerDelegate is not called

I have a problem. My app is a tab bar controller and its first view controller is a split view controller. This seems to be not ok for Apple because documents say a split voew controller must be the root, so perhaps that is the reason of my…
Ricardo
  • 2,831
  • 4
  • 29
  • 42
3
votes
1 answer

How to show split view controller on tab bar from different storyboard?

The below is my Main.storyboard and it is having tab bar controller. I wish to show a split view controller in one of the tabs of it. The splitVC is in other storyboard as shown in second picture This is second storyboard which has a split view…
3
votes
2 answers

UISplitViewController: How to prevent expansion when rotating from Compact to Regular

There are many answers to the complementary question, which is how to prevent a transition to PrimaryOverLay on a from Regular to Compact interface change, eg use func splitViewController(splitViewController: UISplitViewController,…
David H
  • 40,852
  • 12
  • 92
  • 138
3
votes
2 answers

UISplitView with Multiple Detail Views (with Storyboard)

I've been trying to create a version of this code using a storyboard: I want to be able to switch between two different detail views, depending on the cell selected in the navigation table. I've tried to implement this by creating a SplitViewManager…
iOS Novice
  • 51
  • 6
3
votes
2 answers

Hiding master UISplitViewController for only certain views

I have a UISplitViewController which has a UINavigationController in the master and a UIViewController in the detail. When the device is orientated into landscape mode I want the normal behaviour to be preserved. I.e. The master gets shown in…
hydev
  • 744
  • 1
  • 10
  • 30
3
votes
1 answer

change the position of Masterview from left to right in Splitviewcontroller

I have created on Split view controller which has master view on left side as default.Now I want that Masterview on rightside(as a Secondview) and detailview on leftside(As a first View)? Is it possible if yes How can i do that? -Thanx in advance
2
votes
1 answer

UISplitView showDetailViewController: not working on a device

I have a home page and when a certain button is pressed, it takes you to a split view with a table on the left (master) side and a view showing details on the right (detail) side. The app is working fine on the simulator, but when I run on my iPad…
1
vote
1 answer

Why is shouldHideViewController called but not willHideViewController?

I'm trying to implement a UISplitViewController which has different UIDetailViewControllers. I've created a delegate that all the detail views implement. It only has a UIBarButtonItem which is the button used to access the master view in portrait…
1
vote
0 answers

How to hide Detail View Controller in UISPlitViewController When Orientation Changes to Landscape

I am using UISplitViewController, When UISplitViewController is in Portrait Mode then first time it is showing only MasterViewController in Whole Screen and DetailViewController is hidden at this time. But when i change the orientation from Portrait…
1
vote
4 answers

How to make the views refresh between detail & master view controllers of UISplitViewController?

I have a split view controller in which either side has table views and needs table data reloading every time some interaction happens on either side. I have implemented delegate to update my detail view controller whenever a cell is selected on…
djay
  • 375
  • 2
  • 18
1
vote
3 answers

How to be notified when UISplitViewController pops to master on iPhone mode?

I am using a UISplitViewController on iPhone 6 Plus, and I wish to be notified when in portrait mode the user goes back to the master view controller (i.e. when the split view acts like a navigation controller). Moreover I wish to be notified in my…
Zaphod
  • 6,758
  • 3
  • 40
  • 60
1
vote
2 answers

How do I implement a UISplitview in a UITabBarController with storyboards?

I have been searching high and low for an answer to this but none are for storyboards. I have used this tutorial for creating my splitview and it works however the following part: UISplitViewController *splitViewController = (UISplitViewController…
Leon
  • 3,614
  • 1
  • 33
  • 46
1
vote
0 answers

ios UISplitViewController issue

I have an application that uses a UISplitViewController. I am adding it's delegate and assigning a button on the navigation bar for when the app is in portrait mode, to be able to show the master view controller in a popover view : /* @property…
0
votes
2 answers

SplitViewController delegate methods not responding

I have added the split view controller on a view controller as this: rootViewController = [[RootViewController alloc] initWithStyle:UITableViewStylePlain]; UINavigationController *navigationController = [[UINavigationController alloc]…
0
votes
1 answer

How to detect when user toggles sidebar hidden in split view controller to preserve secondary only display mode?

I’m using UISplitViewController to create a sidebar for my app - its style is .doubleColumn and I leave the preferredDisplayMode set to its default automatic behavior. It appears like the Photos app where in landscape both the primary and secondary…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
1
2