I have a list of images in the application set and I need to display the corresponding ones in the application, the image has the format:
: toy id, from 1000 to 2000
eg,
1000_photo_1.jpg 1000_photo_2.jpg
I used to get the list of files in the bundle and used the predicate to filter other files:
@"self ENDSWITH '.jpg' AND self BEGINSWITH '%d_photo_'", toyId
but now there are retinal images that end with @ 2x.jpg, so this method needs to be fixed, Iβm thinking about adding:
NOT ENDSWITH '@2x.jpg'
but is this true? I have to say:
NOT (ENDSWITH '@2x.jpg')
or
(NOT ENDSWITH '@2x.jpg')
instead
source share