I want to show an image fullscreen each time users tap on a little preview of the image itself.
I was thinking of creating a UIButton with the image and then call in the image fullscreen from a function.
If there’s a faster way, please let me know!
Thanks
I would create a view controller that takes an image in its initialiser and just shows the image with a “Done” button. Then have your thumbnails displayed on buttons which when tapped initialise this new view controller and present it modally. Obviously you’d also need to wire up the “Done” button to dismiss it.