When I create a card view, and present it at window level on iPad, the underlying view does not respond to touch.
I managed to track the issue down to the following code :
On iPhone 13.5.1 (iphone X) everything works as expected, which mean when this code is called, view is equal to PassthroughWindow, the touch is send to the underlying view. Perfect !
However, on iPad (same code base), the view that is return by super.hitTest is a subview of UIDropShadowView. So the touch is not send to underlying view.
When I create a card view, and present it at window level on iPad, the underlying view does not respond to touch. I managed to track the issue down to the following code :
On iPhone 13.5.1 (iphone X) everything works as expected, which mean when this code is called, view is equal to PassthroughWindow, the touch is send to the underlying view. Perfect !
However, on iPad (same code base), the view that is return by
super.hitTest
is a subview ofUIDropShadowView
. So the touch is not send to underlying view.Here is the code use to present the message :
And I have no clue how to fix this. I thought of checking for UIDropShadowView, but it seems we cannot access its definition.