Skip to content

Commit

Permalink
Add iPhone 16 to list of devices with notch (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
jperedadnr authored Dec 11, 2024
1 parent fe08229 commit 85d16e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/display/src/main/native/ios/Display.m
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ - (void) isIPhoneX
@"iPhone14,2", @"iPhone14,3", @"iPhone14,4", @"iPhone14,5", // iPhone 13 Pro, 13 Pro Max, 13 Mini, 13
@"iPhone14,7", @"iPhone14,8", @"iPhone15,2", @"iPhone15,3", // iPhone 14, 14 Plus, 14 Pro, 14 Pro Max
@"iPhone15,4", @"iPhone15,5", @"iPhone16,1", @"iPhone16,2", // iPhone 15, 15 Plus, 15 Pro, 15 Pro Max
@"iPhone17,3", @"iPhone17,4", @"iPhone17,1", @"iPhone17,2", // iPhone 16, 16 Plus, 16 Pro, 16 Pro Max
];

if ([modelsWithNotch containsObject:GetDeviceModel()]) {
Expand Down Expand Up @@ -275,4 +276,4 @@ -(void)OrientationDidChange:(NSNotification*)notification
sendNotch();
}

@end
@end

0 comments on commit 85d16e7

Please sign in to comment.