psuicollection view cell というライブラリを使用して、セルに写真を投稿しています。1つの重大な欠陥を除いて、うまく機能します。それらを正しい順序で投稿するのではなく、正確には正反対の順序で投稿します。写真 A の次に写真 B を投稿すると、写真 B が最初の写真になり、写真 A が次の写真になります。画像の順序を逆にするにはどうすればよいですか?
- (PSUICollectionViewCell *)collectionView:(PSUICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
PhotosModel *photoModel = [self.Photos objectAtIndex:indexPath.row];
Cell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:GridCellIdentifier forIndexPath:indexPath];
cell.image.clipsToBounds=YES;
[cell.image setContentMode:UIViewContentModeScaleAspectFill];
[cell.image setImageWithURL:[NSURL URLWithString:photoModel.image_name]];
return cell;
}