I have a UIViewController
with a UIImageView and a UIButton. When a user presses the button, a new UITableViewController appears with different rows, like "Animals", "Nature" and others. Then the user selects a row in didSelectRowAt
and I present another UIViewController
with pictures of animals, nature etc. Then a user selects a picture and I want to dismiss my controllers to the first one and put selected image there.
I don't want to store the image in Core Data nor User Defaults or somewhere else. I want to pass this image back somehow. How can I do that?