Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

uiimage to data swift

let pngImageData = imageObj.pngData()
let jpegData = imageObj.jpegData(compressionQuality: 1)
 
PREVIOUS NEXT
Tagged: #uiimage #data #swift
ADD COMMENT
Topic
Name
8+2 =