to download a BoxFile Object in ios
How can i get the fileId and filepath?
i am using the below code
BOXContentClient *contentClient = [BOXContentClient defaultClient];
NSString *localFilePath =?;
BOXFileDownloadRequest *boxRequest = [contentClient fileDownloadRequestWithID:? toLocalFilePath:localFilePath];
[boxRequest performRequestWithProgress:^(long long totalBytesTransferred, long long totalBytesExpectedToTransfer) {
} completion:^(NSError *error) {
NSLog(@"%@",error);
// Download has completed. If it failed, error will contain reason (e.g. network connection)
}];
please help me
Please sign in to leave a comment.
Comments
0 comments