Simulate a 2 finger single tap on the simulator
I am trying to detect gestures on a specific part of my screen close to the right hand most side.
When I try tapping using this approach (iOS simulator: how to do a 2 finger single tap on a mac laptop?), the two "fingers" appear at opposite ends of the screen. How do I get the simulator to tap so that the "fingers" are next to each other.
ANSWER (from Zen) --
Use Option key to show two fingers icons on simulator screen. Place them as close as you want them to be. Then press Shift to move them to wherever on the screen you want.
在模拟器中,按住选项键并单击 - 这将模拟双指轻敲!
Use Option key to show two fingers icons on simulator screen. Place them as close as you want them to be. Then press Shift to move them to wherever on the screen you want.
链接地址: http://www.djcxy.com/p/30672.html上一篇: 在iOS中检测UITextView中的属性文本的点击
下一篇: 在模拟器上模拟双指单击