Viewcontroller Orientation Problem

I am attempting to create an iPhone app with two VIEW… one should always be PORTRAIT, the other ALWAYS Landscape (regardless of the orientation of the device)

All the websites I read basically say “easy-peasy”, just do this… and THIS is different in each case

I have tried this on each ViewController (the other one says .portrait)

override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { return .landscapeLeft}
    override var supportedInterfaceOrientations: UIInterfaceOrientationMask          { return .landscapeLeft}
    override var shouldAutorotate : Bool { return false }

and the display STARTS out fine… but if I do rotate the device, the view rotates and it shouldn’t
they need to remain locked to the orientation specified

this is in Appdelegate

  func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
        return [.portrait,.landscapeLeft]
     }

either orientation works fine if I only have ONE value specified here, but the other view then crashes

This seems like a hack, but for now it works

  func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
        if current$View == "view2" {
            return [.landscapeLeft]
        } else {
            return [.portrait]
        }
     }

current$View is updated by each view