Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

快速左右拖动会存在前后两个ImageView之间有白色区域 #1

Open
swlfigo opened this issue Aug 17, 2017 · 7 comments
Open

Comments

@swlfigo
Copy link

swlfigo commented Aug 17, 2017

快速左右拖动会存在前后两个ImageView之间有白色区域
PS:nice Demo

@wuzhantu
Copy link
Owner

哈哈,我会继续优化的,多谢指正!

@FoneG
Copy link

FoneG commented Sep 11, 2018

@wuzhantu W大你好,请问这个问题后续的修复方案有吗

@wuzhantu
Copy link
Owner

@JerryMR 我现在的最新版本就是修复了的,我以前用xib会有这个问题,后面纯代码就好了,你下载下来试试就知道了

@FoneG
Copy link

FoneG commented Sep 11, 2018

@wuzhantu 就是刚刚下载的代码,快速、连续拖动就会出现imageView的x左边出现异常

@wuzhantu
Copy link
Owner

@JerryMR 哈哈,那我再看看,你也可以修正一下啊,共同研究一下

@FoneG
Copy link

FoneG commented Sep 11, 2018

@wuzhantu 可以啊 有解决方案我也会告知

@FoneG
Copy link

FoneG commented Oct 8, 2018

@wuzhantu 我估计是scrollview滚动事件回调精度的问题,当慢慢拖动,-scrollViewDidScroll:回调的差值大概是0.333;但快速拖动,滚动的差值就会扩大,造成 _lastPosition变量有误差。

目前方向就是找到一个能更新_lastPosition变量值的回调方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants