diff --git a/Source/Infra/EKRootViewController.swift b/Source/Infra/EKRootViewController.swift index 738ad09c..a08c5b34 100644 --- a/Source/Infra/EKRootViewController.swift +++ b/Source/Infra/EKRootViewController.swift @@ -66,6 +66,8 @@ class EKRootViewController: UIViewController { return super.supportedInterfaceOrientations case .all: return .all + case .specified(let orientation): + return orientation } } diff --git a/Source/Model/EntryAttributes/EKAttributes+PositionConstraints.swift b/Source/Model/EntryAttributes/EKAttributes+PositionConstraints.swift index 7c3e539d..4543d733 100644 --- a/Source/Model/EntryAttributes/EKAttributes+PositionConstraints.swift +++ b/Source/Model/EntryAttributes/EKAttributes+PositionConstraints.swift @@ -136,8 +136,11 @@ public extension EKAttributes { /** Uses standard supported interface orientation (target specification in general settings) */ case standard - /** Supports all orinetations */ + /** Supports all orientations */ case all + + /** Specify orientation mask */ + case specified(orientation: UIInterfaceOrientationMask) } /** Autorotate the entry along with the device orientation */