UIImage

Undocumented

  • Scaling image with image size and ratating image to identity if orientation is other than UIImageOrientation.up

    Parameter

    Parameter maxSize: Maximum Image Size

    Returns

    Resized and Ratated UIImage

    Declaration

    Swift

    public func scaleAndRotateImage(_ maxSize: CGFloat) -> UIImage

    Parameters

    maxSize

    Maximum Image Size

    Return Value

    Resized and Ratated UIImage