How to convert UIImage from microsoft sql image

时间:2017-04-10 02:36:11

标签: sql swift

let image = UIImage(data: myData as! Data)

It comes with an error:

Cannot convert value of type 'Data' to expected argument type 'Data'

How can I solve this?

My SQL data type is image and saves as HexString.

0 个答案:

没有答案