How to set an image as background for a view? Solution: Using UIImageView and resize the image to fit that view (prefer)Set image as background of a UIView programmatically.