Tapping the top area of iPhone Duo does not respond in Device Hub

I’m simulating an iPhone Duo using Xcode 27.1 beta, and I’m having trouble tapping buttons placed near the top of the screen. It seems that the top ~20 pixels of the screen are not responding to taps.

In my ViewController, preferredScreenEdgesDeferringSystemGestures returns .all, so system gestures should require two swipes to be triggered. However, a simple tap in this area does not seem to be recognized.

This appears to happen only on iPhone Duo; taps work normally on other iPhone models.

Does anyone know whether this behavior is expected to occur on the actual iPhone Duo hardware as well, or is it specific to the simulator?

For reference, the buttons are positioned according to LayoutMarginsGuide with Safe Area.

FB24914903

I wonder if anyone knows how to get the top margin size programmatically.

I'm having the same issue with the iPhone Duo simulator with the Xcode 27.1 production version. Setting preferredScreenEdgesDeferringSystemGestures to any value doesn't help. As noted it's top 20 or 24px that "eat" the touches in unfolded landscape iPhone Duo simulator orientation.

Tapping the top area of iPhone Duo does not respond in Device Hub
 
 
Q