AirtestProject / AirtestProject/iOS-Tagent

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

Đang mở
#109 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Objective-C
Star
722
Fork
194
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

描述
在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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.