获取数组中元素的下标

NSInteger index = [self.addImageArr indexOfObject:noAnimateView];

原文地址:https://www.cnblogs.com/tufei7/p/9956917.html