I am using NickLockwood's iCarousel. I am not getting why viewForItemAtIndex is not getting called.(Setting the breakpoint and its not getting hit.)Everything was properly done. datasource and delegate was set to self. iCarousel is alloc in viewDidLoad. Type is also given. What's the problem? Anyone came accross such issue ?

有帮助吗?

解决方案

Check numberOfItemsInCarousel return greater than Zero.if numberOfItemsInCarousel return zero means that time viewForItemAtIndex is didn't call.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top