Skip to content

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

Open
GuiTom wants to merge 1 commit intogsdios:masterfrom
GuiTom:work
Open

修复单图滑动时卡住一半的问题#607
GuiTom wants to merge 1 commit intogsdios:masterfrom
GuiTom:work

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

Comments