I have an app where the user is submitting scavenger hunt images. They can optionally submit a second photo. I'm using two UIImageViews, both with default images in them. Tapping on them triggers the camera and if the user takes a photo, it will replace my default images. All that works as expected.
The next step is that the user can email these images. When I call my compose view, I want to detect if the default image is still in place for that optional second shot, and suppress it. I can't figure out how to detect if the default image is still assigned to the UIImageView or not and Google doesn't seem to want to give me the answer either.
Using Swift 4, how can I detect if the UIImageView is still displaying the default image or not?