Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isDataAvailable)
- [... getData];
- [yourPFFile getDataInBackgroundWithBlock:^(NSData *data, NSError *error) {
- if (!error) {
- // data available here, put any operations dependent on the data existing here
- }
- else {
- // notify user that there was an error getting file, or handle error
- }
- }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement