You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any idea how to tap photo or at least cancel button on system photo picker?
I've tried:
[tester tapAccessibilityElement:]
[tester tapScreenAtPoint:]
[tester tapViewWithAccessibilityLabel:@"Cancel"];
[tester dismissPopover]
I believe this is one of the things hosted out of process on modern iOS versions. The best way to workaround it is to swizzle the photo picker APIs and replace the system implementation with something that either presents some alternate UI in process, or automatically calls the expected response APIs without user interaction.
We have a bunch of tickets (#1156#1266#1267) tracking finding a solution to interact with UI elements hosted out of process. Until that is resolved, we're blocked here with the above workarounds.
Any idea how to tap photo or at least cancel button on system photo picker?
I've tried:
[tester tapAccessibilityElement:]
[tester tapScreenAtPoint:]
[tester tapViewWithAccessibilityLabel:@"Cancel"];
[tester dismissPopover]
None of these above do anything.
The text was updated successfully, but these errors were encountered: