You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my messaging app, I am sending the media ID. As suggested by the docs, on the receiving end I am loading the image via
GiphyCore.shared.gifByID(id) { (response, error) in
if let media = response?.data {
DispatchQueue.main.sync { [weak self] in
mediaView.media = media
}
}
}
The images are not being cached and only kept while on the chat screen. As soon as leaving the chat screen the images disappear.
How would I be able to use the cache while using gifByID?
The text was updated successfully, but these errors were encountered:
In my messaging app, I am sending the media ID. As suggested by the docs, on the receiving end I am loading the image via
The images are not being cached and only kept while on the chat screen. As soon as leaving the chat screen the images disappear.
How would I be able to use the cache while using gifByID?
The text was updated successfully, but these errors were encountered: