enum ScreenType: Int {
    case LANDSCAPE = 1
    case PORTRAIT = 2
    
    var videoOrientation: UIInterfaceOrientation {
        switch self {
        case .LANDSCAPE:
            return UIInterfaceOrientation.landscapeRight
        case .PORTRAIT:
            return UIInterfaceOrientation.portrait
        }
    }
}

+ Recent posts