Repository navigation
·
1 commit
to main
since this release
SwiftDeviceKit now covers 173 models across six Apple device families. Both products support iOS and iPadOS 18, watchOS 11, tvOS 18, macOS 15 and visionOS 2 or later. The package has no external dependencies.
- Identify Mac and Vision Pro hosts in compatible iPhone and iPad apps. Read the internal Mac battery through IOKit on macOS and Mac Catalyst, including when charging is paused.
- Read 64-bit storage capacities on Apple Watch, detect the Action button and variable-aperture cameras, and start or stop physical orientation updates on iPhone and iPad.
- When upgrading, handle the added device and hardware enum cases in exhaustive switches. On iOS and Mac Catalyst, screen brightness is now optional. On watchOS, storage capacity is reported as an optional Int64. Use the phone and iPad groups when a list should include only those families.