I have tried to look for the "double border" tricks in Swift to make like this. I have a feeling this could be like a "double border" in UIImage.
Let me know if you know the codes. :)
You can just take a UIView and add the UIImageView inside it. Clear the color of the UIView to clear.
This is what I have done using the storyboard.
Added the UIView and a UIImageView inside it, the color of the view is set to clear and the image view is at 15 points from all the sides. Please change as per your requirement (Refer image 1).
This is the view controller code (Refer image 2).
Output(Refer image 3).
Note :Just a basic idea, though you can change the color and the borderwidth etc as per your requirement.