I\'m using a stock UISplitViewController with out-of-the-box Master and Detail view controllers. In a storyboard, I\'ve added a
The problem is that it is a private class that you can't test against.
Fortunately _UIPopoverSlidingChromeView is the subclass of UIPopoverBackgroundView that is public (because in regular popover implementation flow client may customize the popover background chrome by providing a class which subclasses UIPopoverBackgroundView).
for (UIView *subview in self.viewController.view.superview.superview.subviews) {
if ([subview isKindOfClass:[UIPopoverBackgroundView class]]) {
subview.alpha = 0.0;
}
}
This should hide the _UIPopoverSlidingChromeView.