title: how to set image to imageview center with background color on swift
body: <p>I have an image as 30x30. I want to put this image into center of another 500x500 image and i want to define a background for 500x500 image like the following example. Is there any way to achieve this? Thank you.</p>
  
  <p><a href="https://i.stack.imgur.com/SP7zb.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SP7zb.jpg" alt="İmages"></a></p>