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.
(lldb) po [UIView printViewHierarchy]
Window level 0.000000 (key window)
...
| UITransitionView
| | UIDimmingView
| | UIDropShadowView
| | | _UIRoundedRectShadowView (not highlighted)
| | | UIView
| | | | UIView
| | | | | UILayoutContainerView
| | | | | | UINavigationTransitionView
| | | | | | | UIViewControllerWrapperView
| | | | | | | | _UISizeTrackingView
| | | | | | | | | _UIRemoteView, identifier: RemoteViewBridge
| | | | | | | | | AXRemoteElement, label: (null), traits: none
| | | | | | UIToolbar, label: Toolbar, identifier: Toolbar (invisible)
| | | | | | | _UIBarBackground
| | | | | | | | UIVisualEffectView
| | | | | | | | | _UIVisualEffectBackdropView
| | | | | | | | _UIBarBackgroundShadowView
| | | | | | | | | _UIBarBackgroundShadowContentImageView (not highlighted)
Window level 1.000000
UITextEffectsWindow
| UIInputSetContainerView
| | UIInputSetHostView
| _UITextEffectsRemoteView, identifier: RemoteViewBridge
| AXRemoteElement, label: (null), traits: none

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.