Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new iOS devices, Apple Watch device family/devices and support for Catalyst apps and iOS apps running on Apple silicon (Mac device family/devices) #34

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
1a7c74f
Added Apple Watch, iPhone 11/Pro/Max, iPad Air 3, iPad 7G, iPad Mini …
xjki Oct 4, 2019
e220bf5
Added device family for Apple Watch.
xjki Oct 4, 2019
5dc7ec1
Added new iPads, iPhone SE 2nd gen.
xjki Apr 25, 2020
1a49b84
Added support for Catalyst apps for detecting Mac device family and M…
xjki May 24, 2020
e36cb86
Avoid calling sysctl with "hw.targettype" on iOS without need.
xjki Jul 12, 2020
0c9d792
Added Watch SE/Series 6, iPad 8gen, iPad Air 4gen.
xjki Oct 2, 2020
1b34b07
Added iPhone 12. Standartized naming for iPad models.
xjki Oct 26, 2020
3767351
Return Mac model identifier for iOS apps running on Apple silicon.
xjki Jan 25, 2021
4cc090b
Addded Watch Series 7, iPhone 13, new iPad and iPad Mini, Apple TV 4K…
xjki Sep 22, 2021
b477fc9
Added iPad Pro 11" (3rd gen) and iPad Pro 12.9" (5th gen) models.
xjki Feb 10, 2022
0a8a940
Added iPhone SE 3rd gen, iPad Air 5th gen, Mac Studio
xjki Mar 29, 2022
a4ee2b0
Add iPhone 14, new Watch models.
xjki Sep 27, 2022
9ce5eda
Updated with new iPad, iPad Pro models (Oct, 2022)
xjki Oct 24, 2022
0d17a99
Added latest AppleTV, Mac Mini, Macbook Air & Macbook Pro models.
xjki Apr 16, 2023
9cf3c99
Add new Mac models.
xjki Jun 27, 2023
274a5ee
Added iPhone 15 and WatchS9/Ultra 2 models.
xjki Oct 9, 2023
2ce6b7b
Add Apple Vison Pro.
xjki Feb 8, 2024
87e944b
Updated with 2024 iPad models. Renamed iPad Pro models to use M silic…
xjki May 11, 2024
24aa658
Add missing Mac models.
xjki May 11, 2024
bd02fe9
Fix
xjki May 11, 2024
ce9e033
Added iPhone 16 models.
xjki Sep 10, 2024
0e56afc
Added Apple Watch Series 10.
xjki Sep 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions UIDevice-Hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ typedef NS_ENUM(NSUInteger, UIDeviceFamily) {
UIDeviceFamilyiPod,
UIDeviceFamilyiPad,
UIDeviceFamilyAppleTV,
UIDeviceFamilyWatch,
UIDeviceFamilyMac,
UIDeviceFamilyVision,
UIDeviceFamilyUnknown,
};

Expand Down
Loading