1
我使用iCarousel
在旋转流程中显示图像。 我打电话给这种方法:iCarousel carouselCurrentItemIndexDidChange方法给出错误的索引
-(void)carouselCurrentItemIndexDidChange:(iCarousel *)carousel
用于在滑动过程中更改图像。 现在最初当我来到我的视图控制器这个方法被调用,它给我-1当前索引,而不是0。 (and because of this app crash with beyond bounds for empty array)
。 任何人都可以帮助我!
我也同样和我收到错误的索引。为什么我得到错误的索引,因为我需要帮助 – Niharika
请告诉我你的旋转木马DataSource和委托方法 –
http://stackoverflow.com/a/41976632/5461400 –