From 6a2b2164bedc6e23846f8e8f433028f091944eff Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Mon, 16 May 2016 17:43:21 -0500 Subject: [PATCH] Prevents controller view from appearing when peeking EmulationViewController in landscape --- Delta/Emulation/EmulationViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Delta/Emulation/EmulationViewController.swift b/Delta/Emulation/EmulationViewController.swift index 5a6da8f..e4dfb2a 100644 --- a/Delta/Emulation/EmulationViewController.swift +++ b/Delta/Emulation/EmulationViewController.swift @@ -126,6 +126,8 @@ class EmulationViewController: UIViewController { self.controllerViewHeightConstraint.constant = 0 } + + self.controllerView.hidden = self.isPreviewing } override func prefersStatusBarHidden() -> Bool