Reenable background iOS screenshooting
This commit is contained in:
parent
2c3f665b58
commit
ed2257a4f4
|
@ -15,9 +15,7 @@ class RootSplitViewController: UISplitViewController {
|
|||
|
||||
override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
|
||||
coordinator.animate(alongsideTransition: { [weak self] context in
|
||||
if UIApplication.shared.applicationState != .background {
|
||||
self?.coordinator.configureThreePanelMode(for: size)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -910,7 +910,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
|||
extension SceneCoordinator: UISplitViewControllerDelegate {
|
||||
|
||||
func splitViewController(_ splitViewController: UISplitViewController, collapseSecondary secondaryViewController:UIViewController, onto primaryViewController:UIViewController) -> Bool {
|
||||
return masterTimelineViewController == nil
|
||||
return currentArticle == nil
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue