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 摘要。