iphone - Remove item at index -


in icarousel, use remove items @ index:

nsinteger index2 = carousel2.currentitemindex; [carousel2 removeitematindex:index2 animated:yes]; [items2 removeobjectatindex:index2];  

so image in view of specific index remove.

but don't know how reduce count in array 1 or reduce index count. how it? sorry bad english.

when remove object nsmutablearray length of array automatically reduced 1. can check length of array using

[carousel2 count];  

and

[items2 count]; 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -