interchen / ImagePlayerView

To show images in UIScrollView, based on AutoLayout
MIT License
221 stars 40 forks source link

当系统设置粗字体显示时,初次启动,轮播图不会转动 #16

Closed FAppleG closed 8 years ago

FAppleG commented 8 years ago

经检查是你的位置判断有问题line:306 修改为:if (self.imagePlayerViewDelegate && [self.imagePlayerViewDelegate respondsToSelector:@selector(imagePlayerView:didScorllIndex:)]) { 就ok了

interchen commented 8 years ago

@FAppleG 你使用的是1.x版本还是2.0.0?貌似行号对不上,而且你发的这段代码与我源码是一样的?没看出区别来?

FAppleG commented 8 years ago

我粘错了是这个if (CGRectContainsRect(imageView.frame, visiableRect) || CGRectContainsRect(visiableRect, imageView.frame)) {

interchen commented 8 years ago

@FAppleG 你说的2.0轮播有问题能否说仔细一些?

interchen commented 8 years ago

@FAppleG 1.x版本已经不打算维护了哦,有严重的性能问题

FAppleG commented 8 years ago

@interchen 我昨天试的 当轮播到最后一张图的时候,反向回到第一张图再次轮播,不是顺序轮播