The following enumerations are available globally.
Used to convert an Apple device model name (in the form
iPhone10,3) to a human readable form (such as
iPhoneX). This enum works with the
HardwareInformationclass to get the type of device the app is running on.
// Get human-readable name (iPhoneX) let device = AppleHardwareType(fromModel: "iPhone10,3")
public enum AppleHardwareType