Skip to content

Releases: devicekit/DeviceKit

Version 4.4.0

29 Apr 20:38
70f1564

Choose a tag to compare

Releasedate: 2021-04-29

pod 'DeviceKit', '~> 4.4'

This version adds support for the devices announced at the April 2021 Apple Event: (#279)

  • iPad Pro (11-inch) (3rd generation) Device.iPadPro11Inch3
  • iPad Pro (12.9-inch) (5th generation) Device.iPadPro12Inch5
  • Apple TV 4K (2nd generation) Device.appleTV4K2

Thanks @Zandor300 🎉

Version 4.3.0

12 Feb 22:24

Choose a tag to compare

Releasedate: 2021-02-12

pod 'DeviceKit', '~> 4.3'

This version adds support for the Simulator running on Apple Silicon and fixes documentation:

  • Support for running in Simulator on Apple Silicon. (#273)
  • Fix tech specs link and images for iPhone 12 models and iPad Air (4th generation). (#272)

Thanks @Zandor300 and @felixII for your contributions!

Version 4.2.1

22 Oct 18:08
dbddb02

Choose a tag to compare

Fix bugs in v4.2.0 release:

  • Device.allDevicesWithALidarSensor didn't include iPhone 12 Pro and iPhone 12 Pro Max. (#268 #266)
  • Device.iPadAir4.screenRatio returned an invalid screen ratio. (#268 #267)

Version 4.2.0

21 Oct 15:38
8dfc093

Choose a tag to compare

This release will add support for the October 2020 devices. (#262)

  • iPad Air (4th generation)
  • iPhone 12
  • iPhone 12 mini
  • iPhone 12 Pro
  • iPhone 12 Pro Max

The technical identifiers are there. Images and support links will be added in a feature release. Thanks @Zandor300 🎉.

Version 4.1.0

21 Sep 12:04

Choose a tag to compare

This release will add support for the September 2020 devices, which will be released on the 18th of September: (#256)

  • iPad (8th generation)
  • Apple Watch Series 6
  • Apple Watch SE
Device.iPad8

Device.appleWatchSeries6_40mm
Device.appleWatchSeries6_44mm

Device.appleWatchSE_40mm
Device.appleWatchSE_44mm

Support for iPad Air (4th generation) will be added in a later version since it will be a long time before we know its device identifiers.

Version 4.0.0

04 Sep 14:34
969bd6b

Choose a tag to compare

This is a v4.0.0 release because of the possibly breaking change of no longer supporting iOS 9. This decision was made because of Xcode 12 no longer supporting iOS 8.

  • Dropped support for iOS 8. Lowest supported version is now iOS 9. (#249)
  • Updated project settings for Xcode 12. (#248)

Version 3.2.0: Add support for iPhone SE (2nd generation)

30 Apr 07:30

Choose a tag to compare

Added support for the iPhone SE (2nd generation). (#238)

Thanks @Zandor300 🎉

Version 3.1.0: Add support for the 2020 iPad Pro

29 Mar 19:15

Choose a tag to compare

Thank you @Zandor300 and everyone who opened issues and provided pull requests! 🥳

2020 iPad Pro

  • Added support for the new 2020 iPad Pro. (#235)
Device.iPadPro11Inch2 // iPad Pro (11-inch) (2nd generation)
Device.iPadPro12inch4 // iPad Pro (12.9-inch) (4th generation)

New features

  • Added new functions for detecting LiDAR support.
    • Device.allDevicesWithALidarSensor and Device.current.hasLidarSensor

Version 3.0.0

20 Jan 06:21

Choose a tag to compare

Thank you @Zandor300 and everyone who opened issues and provided pull requests! 🥳

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 to CameraType. (#212)
  • CameraType.normal has been deprecated and replaced by CameraType.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 and Device.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

  • .allDevicesWith3dTouchSupport contained .iPhoneSE which was incorrect. (#226)
  • Some variables would return incorrect values when running on the simulator. (#227)

Version 2.3.0

02 Oct 08:57

Choose a tag to compare

Thank you @Zandor300 🎉!

New devices

  • Added support for the new September 2019 devices:
    • iPad (7th generation)