2 // WLNavigationController.swift
5 // Created by Pawel Dabrowski on 28/09/2018.
6 // Copyright © 2018 Fundacja Nowoczesna Polska. All rights reserved.
11 class WLNavigationController: UINavigationController {
13 override var shouldAutorotate: Bool {
17 override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
19 return UIDevice.current.userInterfaceIdiom == .pad ? .all : .portrait