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

修复单图滑动时卡住一半的问题 #607

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GuiTom
Copy link

@GuiTom GuiTom commented Dec 28, 2019

我们发现,当轮播图只有一张网络图的时候,如果切换到其他的VIewController 在切回SDCycleScorllView 所在的ViewController,scrollToIndex 方法会被调用一次,因为单图时infiniteLoop属性未YES,故如果发现是单图,就设置infiniteLoop为 NO,从而避免这个问题

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

Successfully merging this pull request may close these issues.

1 participant