UIImage
Undocumented
-
Scaling image with image size and ratating image to identity if orientation is other than UIImageOrientation.up
Parameter
Parameter maxSize: Maximum Image SizeReturns
Resized and Ratated UIImageDeclaration
Swift
public func scaleAndRotateImage(_ maxSize: CGFloat) -> UIImageParameters
maxSizeMaximum Image Size
Return Value
Resized and Ratated UIImage
View on GitHub
UIImage Extension Reference