Home>
Premise

I want to display the iPhone image, retract the view, and then tap the button to display the same image at the screen transition destination, but from the extension self.dismiss (animated: true)
}
}
I can't put a button anywhere.
The fact that it cannot be entered means that the display does not appear when trying to link to .swift from the button placed in the viewController.
Why not enter
Since the image is acquired and displayed after extention, I think that the image cannot be displayed at the screen transition destination unless screen transition processing and reference passing are performed after self.dismiss (animated: true). Can't I do anything after closing the view ...?
I would be happy if you could answer.

The sites I referred to are as follows.

Link content

xcode12.1 swift 5