Hi, I do a iphone apps and I try to write in a file like this:
data = [NSMutableData dataWithBytes:LogString length:[LogString length]];
file = [NSFileHandle fileHandleForUpdatingAtPath:filePath];
[file seekToEndOfFile];
[file writeData: data];
[file closeFile];
But the problem is that if I try to write the string "awf", the content of the file is "†∂…‡