Fatal safeAreaInsets Error on Certain iOS/iPadOS 26 Devices

Fatal safeAreaInsets Error on Certain iOS/iPadOS 26 Devices

On certain devices that have updated to iOS/iPadOS 26, the safeAreaInsets value is displayed incorrectly when rotating.

On the iPhone SE3, the safeAreaInsets.top value is displayed inverted when rotating.

It should return 20.0 when rotated vertically and 0.0 when rotated horizontally. Currently, the value is reversed.

(0.0 when rotated horizontally and 20.0 when rotated vertically.)

On iPad Pro devices, the safeAreaInsets.top value is always returned as 0.0 when the app is first launched.

(This issue is believed to occur on all iPad devices, including the iPad Pro.)

If the user subsequently rotates the iPad, the safeAreaInsets value is returned correctly.

On the iPhone 17 with dynamic islands, the safeAreaInsets value is displayed correctly.

My guess is that all devices running iOS/iPadOS 26 without dynamic islands will experience an issue where the safeAreaInsets value is displayed incorrectly.

This issue occurs when building with Xcode 26.

Apple, please issue an OS update as soon as possible. Or, if this is an Xcode issue, please update Xcode.

I tested this after writing the message above.

When all iPhone devices are rotated horizontally, the safeAreaInsets.top value is 20.0.

Up until iOS 18, it was displayed as 0.0.

Even with iOS 26, the top status bar is not displayed in apps on iPhones when the device is rotated horizontally.

Is this intentional on Apple's part? Or is it an OS bug or error?

Fatal safeAreaInsets Error on Certain iOS/iPadOS 26 Devices
 
 
Q