I have an UICollecitonView that loads a placeholder image within a ColletionView cell without any problems. The placeholder image is loaded via ‘Assets’ using a string property.
I am also take a picture that I would like to place the placeholder image with the one taking via the camera. I know that the image from the camera is loading without any problems. Ideally, I would like to assign a string literal to the camera image then load it via UIImage, but not certain if it’s possible to get a string from the camera image? I also tried to save the image via pngData method and saving to the document directory with no luck.
Does anyone have any recommendations to handle this situation?
My issue is that I am not certain what’s the best approach to use the camera image with the CollectionView.