We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7916101 commit 410f53dCopy full SHA for 410f53d
Sources/ContainerController/ContainerDevice.swift
@@ -10,7 +10,6 @@ import UIKit
10
11
@available(iOS 13.0, *)
12
public extension ContainerDevice {
13
-
14
enum Orientation {
15
case portrait
16
case landscapeLeft
@@ -85,7 +84,7 @@ open class ContainerDevice {
85
84
switch UIDevice.current.orientation {
86
case .landscapeLeft, .landscapeRight:
87
portrait = false
88
- case .portrait, .portraitUpsideDown:
+ case .portrait:
89
portrait = true
90
default: break
91
}
@@ -120,6 +119,4 @@ open class ContainerDevice {
120
119
return .landscapeLeft
121
122
123
124
125
0 commit comments