Ensure per-phase UIEvent creation in KIF tap simulation#1334
Ensure per-phase UIEvent creation in KIF tap simulation#1334justinseanmartin merged 1 commit intokif-framework:masterfrom krayc425:master
Conversation
justinseanmartin
left a comment
There was a problem hiding this comment.
Seems like something that ought to be fairly benign on previous versions. I'll wait on CI results, but should be able to merge this if things looks good.
|
Think that there are any other changes needed for iOS26 before cutting a release? It'd be nice to add CI support to validate it and see if anything else is broken. I might be able to get to that later this week. |
|
@justinseanmartin I think the Liquid Glass in the play would break some UI element testings, for example the TabBar / Alert / NavigationBar would have different UX or class hierarchy now. I haven't tested those since my use case doesn't enable Liquid Glass yet, but I think that part is worth an audit and fixes. |
|
FYI - I cut a release for this fix. Feel free to start using |
Background
-tapAtPoint:sometimes fails to trigger taps on non-UIControl views (e.g.UILabel,UIView).UIEventinstance for multiple touch phases (BeganandEnded).UIEventsnapshots.UITouchphase, the system may ignore the injected event, resulting in taps being dropped.Changes
-tapAtPoint:to create a newUIEventfor each touch phase (.beganand.ended).UITouchstate before sending.