Skip to content

Commit 85d16e7

Browse files
authored
Add iPhone 16 to list of devices with notch (#414)
1 parent fe08229 commit 85d16e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/display/src/main/native/ios/Display.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ - (void) isIPhoneX
190190
@"iPhone14,2", @"iPhone14,3", @"iPhone14,4", @"iPhone14,5", // iPhone 13 Pro, 13 Pro Max, 13 Mini, 13
191191
@"iPhone14,7", @"iPhone14,8", @"iPhone15,2", @"iPhone15,3", // iPhone 14, 14 Plus, 14 Pro, 14 Pro Max
192192
@"iPhone15,4", @"iPhone15,5", @"iPhone16,1", @"iPhone16,2", // iPhone 15, 15 Plus, 15 Pro, 15 Pro Max
193+
@"iPhone17,3", @"iPhone17,4", @"iPhone17,1", @"iPhone17,2", // iPhone 16, 16 Plus, 16 Pro, 16 Pro Max
193194
];
194195

195196
if ([modelsWithNotch containsObject:GetDeviceModel()]) {
@@ -275,4 +276,4 @@ -(void)OrientationDidChange:(NSNotification*)notification
275276
sendNotch();
276277
}
277278

278-
@end
279+
@end

0 commit comments

Comments
 (0)