I want to write data in file at the end of every call. How can I do this in iOS? Below are the steps.
- If "filename" doesn't exist create a new file
- And write NSData or Data content in the file.
- Next time when thread complete the work it will again call same method to write in file but if file exist it will open to write from last index in file.
- I don't want to store or cache data in memory to write simultaneously.