passing nsdata in stringwithformat
- by milanjansari
hello,
How to pass nsdata in below of the string
NSData *myData = [NSData dataWithContentsOfFile:pathDoc];
pathDoc = [NSString stringWithFormat:@"<size>%d</size><type>%d</type><cdate>%@</cdate><file>%c</file><fname>File</fname>",fileSizeVal,filetype,creationDate,file];
Any idea about this?
Thanks you,
Milan