Skip to content

Commit 7bfb8cc

Browse files
Zandor300futuretap
authored andcommitted
Add support for iPhone 14 series.
1 parent 96e1699 commit 7bfb8cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

FTLinearActivityIndicator/Classes/UIApplication+LinearNetworkActivityIndicator.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ extension UIApplication {
8787
"iPhone14,5": (72, 34), // iPhone 13
8888
"iPhone14,2": (72, 34), // iPhone 13 Pro
8989
"iPhone14,3": (80, 42), // iPhone 13 Pro Max
90+
"iPhone14,7": (72, 34), // iPhone 14
91+
"iPhone14,8": (80, 42), // iPhone 14 Plus
92+
"iPhone15,2": (72, 34), // iPhone 14 Pro
93+
"iPhone15,3": (80, 42), // iPhone 14 Pro Max
9094
]
9195
let modelName = UIDevice.current.ftModelName
9296
let config = layout[modelName] ?? (74, 44)

0 commit comments

Comments
 (0)