NSdata 与 NSString,Byte数组,UIImage 的相互转换---ios开发 Objective-C
1. NSData 与 NSString
NSData-> NSString
NSString *aString = [[NSString
alloc] initWithData:adata encoding:NSUTF8StringEncoding];
NSString->NSData
NSString *aString = @"1234abcd";
NSData *aData
转载
2014-12-02 15:35:10 ·
659 阅读 ·
0 评论