3

I am using Parse's getDataStreamInBackgroundWithBlock method to download a large file and save it locally.

How can I to process the stream to store the data in a file? Is this possible without using NSInputStream delegate methods (hasBytesAvailable etc)?

[databaseFile getDataStreamInBackgroundWithBlock:
     ^(NSInputStream *stream, NSError *error) {
            // 
}];
AlexR
  • 5,514
  • 9
  • 75
  • 130

0 Answers0