Upasna Sharma Upasna Sharma - 1 year ago 124
iOS Question

Quickblox Profile Pic issue in swift

I am developing a

application using
api for chat . I am able to send and receive messages but profile picture of sender is missing. if anyone knows Please help me that How we fetch the sender
with messages.


You can get profile pic using below code :

NSUInteger userProfilePictureID = user.blobID; // user - an instance of QBUUser class

// download user profile picture
[QBRequest downloadFileWithUID:userProfilePictureID successBlock:nil statusBlock:nil errorBlock:nil];