I am creating an image cropper and I used: FA Image Cropper. Inside the code there\'s the following function:
func sizeForImageToDisplay() -> CGSize {