سؤال

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