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

Fix New iPads #137

Merged
merged 1 commit into from
Sep 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 4 additions & 2 deletions Source/Version.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public enum Version: String {
case iPadMini4
case iPadMini5
case iPadMini6
case iPadAirM2_11Inch
case iPadAirM2_13Inch

/*** iPadPro ***/
case iPadPro9_7Inch
Expand All @@ -87,8 +89,8 @@ public enum Version: String {
case iPadPro12_9Inch4
case iPadPro12_9Inch5
case iPadPro12_9Inch6
case iPadPro13InchM2
case iPadPro13InchM4
case iPadProM4_11Inch
case iPadProM4_13Inch

/*** iPod ***/
case iPodTouch1Gen
Expand Down
6 changes: 4 additions & 2 deletions Source/iOS/Device.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ open class Device {
case "iPad5,1", "iPad5,2": return .iPadMini4
case "iPad11,1", "iPad11,2": return .iPadMini5
case "iPad14,1", "iPad14,2": return .iPadMini6
case "iPad14,8", "iPad14,9": return .iPadAirM2_11Inch
case "iPad14,10", "iPad14,11": return .iPadAirM2_13Inch

/*** iPadPro ***/
case "iPad6,3", "iPad6,4": return .iPadPro9_7Inch
Expand All @@ -101,8 +103,8 @@ open class Device {
case "iPad13,8", "iPad13,9", "iPad13,10", "iPad13,11": return .iPadPro12_9Inch5
case "iPad14,3", "iPad14,4": return .iPadPro11_0Inch4
case "iPad14,5", "iPad14,6": return .iPadPro12_9Inch6
case "iPad14,10", "iPad14,11": return .iPadPro13InchM2
case "iPad16,5", "iPad16,6": return .iPadPro13InchM4
case "iPad16,3", "iPad16,4": return .iPadProM4_11Inch
case "iPad16,5", "iPad16,6": return .iPadProM4_13Inch

/*** iPod ***/
case "iPod1,1": return .iPodTouch1Gen
Expand Down