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.