albertodebortoli/GoldRaccoon

Can't change filename

Closed this issue · 0 comments

When I execute this function I can't seem to change the name,if i put any other thing that is not a literal,the image won't upload,Is there any way I can keep the Filename as a variable?

-(void)UploadImage:(NSString )BDPath :(NSString)Filename{
[self _setupManager];
[self.requestsManager addRequestForUploadFileAtLocalPath:BDPath toRemotePath:[NSString stringWithFormat:@"%@",Filename]];
[self.requestsManager startProcessingRequests];
}