How do you add a delay in an Xcode Instruments UI script? I have a view that can take a second to load. I have tried these waitForValid suggestions found here but I can't get it to work because I don't really have an object to check. Can I wait for a storyboard ID to show up?
Asked
Active
Viewed 1,054 times
0
2 Answers
1
The answer can be found within Apple documentation. I somehow missed it, and feel sheepish.
UIATarget.localTarget().delay(X);
Having X in seconds.

Baris Demiray
- 1,539
- 24
- 35

Siriss
- 3,737
- 4
- 32
- 65
0
Or,do you use an activity indicator to show the loading progress?
Then maybe you can check the visibility of UIAActivityIndicator.

Sugre
- 851
- 2
- 9
- 19