AirtestProject / AirtestProject/iOS-Tagent

ios用swipe滑动距离不精准,单位滑动距离过大

未關閉
#109 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Objective-C
星號
722
分支
194
PR 合併指標
30 天內沒有已合併 PR

描述

描述
在iphone8 ios12.2环境下:
1.使用poco("xxx").swipe([0, -0.02])和poco("xxx").swipe([0, -0.03])
对比滑动距离,前者不滑动,后者从A直接滑动到C
2.使用swipe(v1=[x1, y1], v2=[x2, y2-33])和swipe(v1=[x1, y1], v2=[x2, y2-34])
对比滑动距离,前者不滑动,后者从A直接滑动到C

**预期效果**
通过坐标或者偏移量的微调实现滑动距离微调,可以从A滑动到B

滑动前后对比截图
![1](https://user-images.githubusercontent.com/44936424/66885961-84cddf80-f008-11e9-9486-fafe84c28fa0.png)
![2](https://user-images.githubusercontent.com/44936424/66885967-89929380-f008-11e9-86c0-ea93856ba86c.png)
**python 版本:** `python3.6.8`
**poco 版本:** `1.0.78`
**设备:**
- 型号: iphone8
- 系统: ios12.2

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。