DeviceKit v3.0.0 Release Notes
Release Date: 2020-01-20 // over 4 years ago-
๐ Releasedate: 2020-01-19
pod 'DeviceKit', :git => 'https://github.com/devicekit/DeviceKit.git', :branch => 'master' #pod 'DeviceKit', '~> 3.0'
๐ฅ Breaking changes
- The enum for the Apple TV HD has been renamed from
.appleTV4
to.appleTVHD
. (#211) - ๐
.allSimulatorXSeriesDevices
has been deprecated and replaced by.allSimulatorDevicesWithSensorHousing
. (#212) - ๐
.allXSeriesDevices
has been deprecated and replaced by.allDevicesWithSensorHousing
. (#212)
Camera
CameraTypes
has been renamed toCameraType
. (#212)- ๐
CameraType.normal
has been deprecated and replaced byCameraType.wide
. (#212) - ๐
.allDevicesWithNormalCamera
has been deprecated and replaced by.allDevicesWithWideCamera
. (#212) - ๐
.hasNormalCamera
has been deprecated and replaced by.hasWideCamera
. (#212)
๐ New features
- ๐ You can now check which devices support wireless charging through the following variables:
Device.allDevicesWithWirelessChargingSupport
andDevice.current.supportsWirelessCharging
(#209) - ๐ New
.safeDescription
variable that will provide you with a safe version of the.description
variable. (#212)- Example: "iPhone Xส" vs "iPhone XR"
๐ Bugfixes
- The enum for the Apple TV HD has been renamed from