I am sending NSString
and UIImage
using bluetooth. I decided to store both in a NSDictionary
and then convert the dictionary to NSData
.
My question is how to convert NSDictionary
to NSData
and visa versa?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…