2012年2月9日

UIImage转NSString的注意事项。

摘要: UIImage转换成NSData后需要先将NSData转成BASE64View Code 1 //To convert an image to string you need a method to convert NSData to a base64Encoded string and back (lots of examples here). The easiest ones to use are categories on NSData so you can do something like this: 2 3 UIImage* pic =[UIImage imageNamed:@.. 阅读全文

posted @ 2012-02-09 23:35 AXZON 阅读(483) 评论(1) 推荐(0) 编辑

导航