我正在使用icarousel显示来自我的firebase数据库的图像。我有五个UIImages var ImageOne = UIImage()
var ImageTwo = UIImage()
var ImageThree = UIImage()
var ImageFour = UIImage()
var ImageFive = UIImage()
而且我用这个代码从火力存储所有五个
因此,我有一个“BillSplitters”的传送带,并且在每个传送带项目上它应该显示BillSplitter所具有的唯一项目。所以我得到fatal error: unexpectedly found nil while unwrapping an Optional value正常情况下,我可以慢慢磨练这样的错误,我发现问题,但是当从一个逐行的断点继续它进入我不能遵循的iCarousel代码。林也
我使用iCarousel在旋转流程中显示图像。 我打电话给这种方法: -(void)carouselCurrentItemIndexDidChange:(iCarousel *)carousel
用于在滑动过程中更改图像。 现在最初当我来到我的视图控制器这个方法被调用,它给我-1当前索引,而不是0。 (and because of this app crash with beyond boun