In my iCarousel, I use this to remove the items at index:
NSInteger index2 = carousel2.currentItemIndex;
[carousel2 removeItemAtIndex:index2 animated:YES];
[items2 removeObjectAtIndex:index2];
So the image in the view of the specific index is remove.
But I don’t know how to reduce the count in my array to 1 or reduce the index count. How to do it?
sorry for the bad english.
When you remove any object from NSMutableArray the length of array automatically reduced by 1. You can check length of array by using
and