From 85d16e746b7de13ad7997f9f3fccb61233cdb991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pereda?= Date: Wed, 11 Dec 2024 10:50:31 +0100 Subject: [PATCH] Add iPhone 16 to list of devices with notch (#414) --- modules/display/src/main/native/ios/Display.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/display/src/main/native/ios/Display.m b/modules/display/src/main/native/ios/Display.m index d1f39fd7..65eae05e 100644 --- a/modules/display/src/main/native/ios/Display.m +++ b/modules/display/src/main/native/ios/Display.m @@ -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()]) { @@ -275,4 +276,4 @@ -(void)OrientationDidChange:(NSNotification*)notification sendNotch(); } -@end \ No newline at end of file +@end