Start a conversation

Is it possible to access direct URL of a public image using blob id?

Is it possible to access direct URL of a public image using blob id?

Yes it is possible. You can upload blob and make it public, e.g:

[QBContent TUploadFile:file fileName:@"Great Image" contentType:@"image/png" isPublic:YES delegate:self]; // QuickBlox queries delegate - (void)completedWithResult:(Result *)result{ // success result if(result.success){ if([result isKindOfClass:QBCFileUploadTaskResult.class]){ QBCFileUploadTaskResult *res = (QBCFileUploadTaskResult *)result; NSString *publicUrl = res.uploadedBlob.publicUrl; } } }

 For more info, please visit: https://quickblox.com/developers/SimpleSample-content-ios

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Maksym Pidhorbunskyi

  2. Posted

Comments