iOS Swift : How to create textfield with image
<p>New to iOS.Learning iOS swift by blogs and online materials. I want to create login form which looks like below. Importantly icon before textfield. How can I achieve that ? Please suggest</p>

<p>And how can i add logo on whitespace top? do i need to add bar item and add picture/logo?</p>

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