how to show photoviewmessage with network image not local
- Dominant language
- Swift
- Stars
- 4.6k
- Forks
- 588
- PR merge metrics
- No merged PRs in 30d
Description
can anyone give me some idea to set photoviewmessage with network image(url) not local ?
`
let simg : UIImageView! = UIImageView();
simg.sd_setImage (with: URL(string: utf8url), placeholderImage: UIImage(named: "quesheng"))
let pmessage = self.createPhotoMessageModel(uid, image: (simg.image)!, size: (simg.image?.size)!, isIncoming: isIn , messageStatu: .success )
`
@diegosanchezr

the upcode just show holderimage
thanks
Contributor guide
Research direction
Start at the createPhotoMessageModel call and the preceding sd_setImage usage shown in the issue, checking when the network image becomes available. Confirm how the photo message handles an asynchronously loaded image and verify that a network URL displays the intended image instead of the placeholder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100