18 lines
310 B
Swift
18 lines
310 B
Swift
//
|
|
// UIDevice.swift
|
|
// VDS
|
|
//
|
|
// Created by Matt Bruce on 7/28/22.
|
|
//
|
|
|
|
import Foundation
|
|
import UIKit
|
|
|
|
extension UIDevice {
|
|
|
|
/// Helper property to see if your current device running is an iPad or not
|
|
public static var isIPad: Bool {
|
|
UIDevice.current.userInterfaceIdiom == .pad
|
|
}
|
|
}
|