Rewrite three panel mode so that background screenshooting will work.

This commit is contained in:
Maurice Parker
2019-11-20 16:41:13 -06:00
parent 6d407a0f3a
commit 7c947b935d
5 changed files with 100 additions and 99 deletions

View File

@@ -1,20 +0,0 @@
//
// UISplitViewController-Extensions.swift
// NetNewsWire
//
// Created by Maurice Parker on 4/18/19.
// Copyright © 2019 Ranchero Software. All rights reserved.
//
import UIKit
extension UISplitViewController {
static func template() -> UISplitViewController {
let splitViewController = UISplitViewController()
splitViewController.preferredDisplayMode = .automatic
splitViewController.viewControllers = [InteractiveNavigationController.template()]
return splitViewController
}
}