Hi all,
thanks for all the feedbacks, i have managed to solved it by transforming the nsmutablearray into nsarray and then replace with nsarray instead of nsmutablearray.
Code:
NSArray *temparrayAnimationImages = [NSArray arrayWithArray:[self tempAnimationImages]];
[[self storedPreviewImageArray] replaceObjectAtIndex:[[indexPathArray objectAtIndex:0] row] withObject:temparrayAnimationImages];
then it returns the right array.
somehow you cant replace with a nsmutablearray