DeviceKit v2.1.0 Release Notes
Release Date: 2019-09-01 // over 4 years ago-
๐ฑ Thank you for all for your contributions and a special thank you to @Zandor300! ๐
๐ New features
- โ Add support for the new iPod touch (7th generation) (#189)
- โ Added
Device.allApplePencilCapableDevices
andDevice.current.applePencilSupport
variables for checking Apple Pencil support. (#179).applePencilSupport
returnsApplePencilSupport.firstGeneration
orApplePencilSupport.secondGeneration
for checking which Apple Pencil is supported.
- โ Added 3D Touch (iOS) and Force Touch (watchOS) support variables: (#183)
- iOS
Device.allDevicesWith3dTouchSupport
Device.current.has3dTouchSupport
- watchOS
Device.allWatchesWithForceTouchSupport
Device.current.hasForceTouchSupport
- โ Added variable to check for the camera's a device has. (#188)
- Example:
Device.iPhoneXS.cameras
should returnCameraTypes.normal
andCameraTypes.telephoto
.
- Example:
๐ Fixes
- ๐ Rename iPod touch 5 and 6 to iPod touch (5th generation) and iPod touch (6th generation) respectively. (#189)
- ๐ Rename Apple TV (4th generation) to Apple TV HD to comply with Apple's rename of the device. (#196)
- ๐ Improve support for Swift Package Manager. (#193)
- ๐ Fixed the
Device.current.isZoomed
variable. (#59 comment and #198)