maximumSize
The maximum size for the image.
Declaration
var maximumSize: CGSize { get set }Discussion
The default value is CGSizeZero. A width or height of zero means that the system doesn’t constrain the size for that dimension.
If the image exceeds this size on either dimension, the system reduces the size proportionately, maintaining the aspect ratio.