I'm using Calabash to do some automated UI testing for my app, and I'm trying to touch some views which are embedded inside of a larger view, so I can't access their exact name to touch them directly.
So I'm trying to touch them using the relative center of the view they're embedded in, however, I'm just blindly adjusting my offset to try and hit these views without knowing if I'm getting farther or closer to the view.
So, my question, is there a way to show where a touch even occurred in the iOS simulator? I'm thinking something like a dot or some way to indicate that a touch occurred and where it occurred.
Any help is appreciated, thanks!
defaults write com.apple.iphonesimulator ShowSingleTouches 1
Execute this command in terminal and restart the simulator
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With