I have added an image view and setting the image to it programmatically.
I am unable to set the image to center and aspect fit the image view.
In other words, I simply want that:
Scale down to fit the image, if the image is larger in size.
Center if small in size.