Creating UIImagePNGRepresentation data from UIImage
To create UIImagePNGRepresentation data from UIImage
, you just need to call pngData()
from UIImage
This one useful when you want share image to another iOS app that need PNG data.
Linked Notes:
Today I learn
I believe that we can learn something new everyday, that’s why I set this page to record what I learn during the day.