ScreenTypeEnables you to use UIScreen.current to get the ScreenType of the current device and see if it is equal to, greater than, or less than a particular iPhone or iPad model's size.License: MITSwift