diff --git a/Tusker/Screens/Main/MainSplitViewController.swift b/Tusker/Screens/Main/MainSplitViewController.swift index 3bdd94e1..e30741ee 100644 --- a/Tusker/Screens/Main/MainSplitViewController.swift +++ b/Tusker/Screens/Main/MainSplitViewController.swift @@ -20,6 +20,14 @@ class MainSplitViewController: UISplitViewController { private var tabBarViewController: MainTabBarViewController! + override var supportedInterfaceOrientations: UIInterfaceOrientationMask { + if UIDevice.current.userInterfaceIdiom == .phone { + return .portrait + } else { + return .all + } + } + init(mastodonController: MastodonController) { self.mastodonController = mastodonController