I have a JSON file that has image urls for the front and back of a character. The pictures download from JSON and show correctly in my image views. However, I am now wanting to put these images into a scroll view so that I can switch between the two pictures. I am using SDWebImage to convert the urls to images.
This is how the images are set for the image views. Front:
figImage.sd_setImage(with: URL(string: (figure?.image)!))
Back:
figBackImage.sd_setImage(with: URL(string: (figure?.backImage)!))
How can I get the pictures into the scroll view?