I am trying to upload image from uiimagepicker It is returning image in imageview.
Now I want to upload this selected image to dropbox. How can I do this
my code is
- (IBAction)uploadButtonPressed:(id)sender {
[restClient uploadFile:@"Test.png" toPath:@"/" fromPath:imageview.image];
}
this is giving warning because It take NSString in fromPath:
How to pass image here with its name?
You will first need to save the image to the document directory, then all the function: