I get json response from java rest webservice it contains an image binary data and I can't convert this binary data and show the image in UIImageView
I try this in swift but it returns nil
let image = [Int]()
let uintArray = intArray.map { UInt(bitPattern: $0) }
let dataImage = NSData(bytes: uintArray, length: uintArray.count)