I have a UIImage object, but I need to access the bytes of the image. I don’t see any method in the class reference to do this, such as getBytes, etc.
This is coming back from a UIImagePicker, so I do not have a file path, just an instance of UIImage that contains the original image.
UIImageJPEGRepresentationorUIImagePNGRepresentationwill returnNSData*‘s that you can use to get the raw dataSee docs here