Answer the question
In order to leave comments, you need to log in
Uploading Files to a Custom Object?
Hello,
I use Quickblox. In the admin panel, in the Custom Object module, I created a table and added a field of the File type there. Then I try to save the file there and it doesn't work for me.
Tried like this:
[post.fields setObject:UIImagePNGRepresentation([UIImage imageNamed:@"profile"]) forKey:@"fileField"];
[post.fields setObject:[UIImage imageNamed:@"profile"] forKey:@"fileField"];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question