I have been trying to find a way to resize an image based on the screen size programmatically without using storyboards?