I wanted to add a pinch to zoom feature to my side project and could not find an updated tutorial for how to replicate the iOS single image view. This is the view you see after tapping a photo in the iOS Photos app. Here are the steps I took to recreate this experience.
We won’t actually save images in core data but use it as a means for retrieving images from the app’s sandboxed file system. We will generate a unique name for that image and save the .png to the app’s file system. Then save the name of that .png as an attribute value in core data.
In 2016 I went on a European trip and documented the journey with my DSLR. I now have over 14GB of images and videos from some of the most incredible cities in the world. To share this experience with friends and family, I wanted to compile the best photos into a coffee table book. Continue