0

Faced with this problem, when you select an image from the album comes not click on the image. At point pressure also occurs. What to do?

used:[tester choosePhotoInAlbum:@"Moments" atRow:0 column:0]; As well as: [tester tapScreenAtPoint:CGPointMake(47, 150)];

Azot
  • 141
  • 2
  • 7

1 Answers1

3

I was trying to figure this out as well.

Solved it by adding a [tester waitForTimeInterval:1] before [tester tapScreenAtPoint:CGPointMake(47, 150)]

Like this:

[tester tapViewWithAccessibilityLabel:@"Camera Roll"];  //Album Name
[tester waitForTimeInterval:1];
[tester tapScreenAtPoint:CGPointMake(47, 150)];
[tester tapViewWithAccessibilityLabel:@"Choose"];
han4wluc
  • 1,179
  • 1
  • 14
  • 26