UIImage
class UIImage : NSObject, NSSecureCoding
-
A new
UIImage
created from applying a transform to the image in a CGContext. The rotation of the image is no longer stored in image meta data which is useful for uploading images to servers which don’t interpret the meta data.Declaration
Swift
public func orientationNeutralImage() -> UIImage!
Return Value
The rotated image.