S
S
Sunset_over2016-04-27 02:46:58
Objective-C
Sunset_over, 2016-04-27 02:46:58

How to make multiple images in one cell?

Good night, I ran into a problem - when creating multiple images in one cell

NSDictionary* place = [AllPlaces objectAtIndex:indexPath.row];
    NSMutableDictionary *prunedDictionary = [NSMutableDictionary dictionary];
    for (NSString * key in [place allKeys])
    {
        if (!)
            [prunedDictionary setObject:[place objectForKey:key] forKey:key];
    }
        img  =[place objectForKey:@"lot_image"];

I need to place multiple images in one cell.
I use the following code in cellForRowAtIndexPath, the problem is that when scrolling the TableView, the images are confused with each other, I understand what the problem is, but I can’t find a suitable solution

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question