标签: swift3 nsdata
在swift 2.3中,我使用nsdata?.arrayOfBytes(),但它在swift 3中不起作用。 错误:Value of type 'NSData' has no member 'arrayOfBytes'
nsdata?.arrayOfBytes()
Value of type 'NSData' has no member 'arrayOfBytes'
请帮帮我 谢谢大家。 更新:使用data?.bytes。
data?.bytes