how to Set Border on image in swift not on uiimageview?
<p>i want to draw a border on image in app ,  i am able to draw a border on uiimageview , but i required image theme  border (according to image set in image view image border will set)</p>

<p>Please suggest how to do it.</p>

<p>Thanks in Advance.<a href="https://i.stack.imgur.com/regZZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/regZZ.png" alt="enter image description here"></a></p>