how to convert NSData to Binary data?
I need convert NSData to Binary data for send t开发者_如何学JAVAo php server
You don't need to convert NSData. Just set the post body of the NSMutableURLRequest.
const void *p = [nsDataObject bytes];
NSUInteger length = [nsDataObject length];
精彩评论