sdwebimage Questions

4

Solved

Trying to run XCTest with my CocoaPods set up using SDWebImage, and I can only see this error as below. Any suggestions? :0: error: module name "" is not a valid identifier Command /Application...
Guitarfish asked 24/7, 2017 at 20:49

4

Solved

I am developing an app with Xcode 13.0 (13A233) on Macbook with an M1 chip. After updating pods to the latest version, the pods are complaining about error CompileSwiftSources normal arm64 com.app...
Mangle asked 11/10, 2021 at 6:6

6

I´ve just changed my code for caching images away from EGOImageCache to SDWebView. Unfortunately i don´t know how to set custom HTTP headers as i have to send authentification to be able to fetch i...
Hamhung asked 28/4, 2013 at 18:50

6

I use the SDWebImage image downloading/caching library pretty much any time I display an image in a table view. I would usually implement it like so (in a table view cellForRowAtIndexPath method)....
Acquiescence asked 6/1, 2012 at 0:10

3

I am trying to clip the image and as we see the UI it looks fine but actually it doesn't clip the image which causes other UI elements to unresponsive. Here the code I am using. struct ImageConten...
Incorporate asked 7/8, 2020 at 10:57

1

Solved

I'm working on a project which I'm getting data from API and in that API I'm getting url for image. but these images are not in PNG,JPEG or JPG formats. They are SVG(Scalable Vector Graphic) images...
Draco asked 14/11, 2022 at 6:45

3

Solved

How I can change a static value cacheMaxCacheAge when I use SDWebImage? What way is good? I need to cache images for 5 minutes.
Thallophyte asked 16/2, 2015 at 19:46

6

I have a UICollectionView with a custom UICollectionViewCell class which adds another UIView (thumbnailView) to its contentView. This other view has a UIImageView property (imageView) whose image g...
Progression asked 12/9, 2013 at 6:9

4

I'm using Kingfisher to show image from url, but my endpoint requires a Authorization header. How to use these kind of url with Kingfisher or SDWebImage in iOS?
Pacesetter asked 29/5, 2017 at 7:7

6

Solved

My navigation controller intermittently will freeze on push. It seems to add the new view controller onto the stack, but the animation never takes place. I also have two other containers that hold ...
Aalborg asked 8/4, 2016 at 15:13

4

Solved

i'm wondering if there is an upper limit on how many setImageWithUrl messages can be submitted at one time ?i'm trying to load 30 photos , 10 of them are downloaded successful but the others entere...
Aniconic asked 9/7, 2012 at 13:52

5

Solved

I'm displaying a list of icons downloaded from the web with text in a table view. The icons can be changed on server side and I need to replace them as soon as new icons are getting available. I tr...
Jasun asked 13/12, 2012 at 17:50

5

Solved

I'm using SDWebImage to cache images in my app, however I recently ran into a problem where images that should be cached keep refreshing. Looking into it I found that the full image url from AWS is...
Washer asked 8/9, 2014 at 9:26

4

I have setup images on my app to work with firebase UI so that I can cache them easily, by following the docs https://firebase.google.com/docs/storage/ios/download-files My code looks something li...
Twedy asked 25/6, 2019 at 18:52

7

Currently i am integrating SDWebImage in my project by following below things 1)#import "UIButton+WebCache.h" 2)[button setImageWithURL:url placeholderImage:[UIImage imageNamed:@"no_photo.png"]];...
Phenylketonuria asked 22/2, 2012 at 2:38

4

Hello I am displaying images on my app using sdwebImage. I have a code here to resize the image func resizeImage(image: UIImage, newWidth: CGFloat) -> UIImage { let scale = newWidth / image.s...
Ozieozkum asked 28/3, 2016 at 10:23

5

Solved

I have all images loaded on my app via SDWebImage. The downloading and caching works great, but I wanted to make a button that can clear all cached images in the entire app. I have a "Clear Cache"...
Exalt asked 5/10, 2016 at 18:48

5

How can I get the size(height/width) of an image from URL in objective-C? I want my container size according to the image. I am using AFNetworking 3.0. I could use SDWebImage if it fulfills my requ...
Tithonus asked 24/5, 2016 at 8:41

18

Solved

I'm using SDWebView image and i want to show an Activity Indicator as placeholder, while fetching the image from remote. I tried Malek's answer here How to show an activity indicator in SDWebImage...
Workwoman asked 29/6, 2012 at 12:56

11

Solved

Hello I am using the SDWebImage framework in a project and I want to download and cache images, but I think my code is storing an image in the cache twice? Is there any way to store the image in th...
Frore asked 15/2, 2013 at 20:29

5

I installed SDWebImage using CocoaPods. My podfile was as it is written in the https://github.com/rs/SDWebImage platform :ios, '8.0' use_frameworks! pod 'SDWebImage', '~>3.7' when I import S...
Sanitation asked 9/3, 2016 at 18:38

4

Solved

I am unable to download the image in Objective c Using SDWebImage 4.4.5 version., I tried the following , nothing worked. Try 1: [self.thumbnailImageView sd_setImageWithURL:[NSURL URLWithString:t...
Earreach asked 5/2, 2019 at 16:24

2

Solved

I am trying to find out if an image has already been cached using SDWebImage but when I try to use this method I get the error "Ambiguous reference to member 'cachedIageExistsForURL". let bool = ...
Notions asked 8/3, 2016 at 14:41

5

Solved

It is very strange that sd_setImageWithURL is working but got an error in sd_setShowActivityIndicatorView:YES and sd_setIndicatorStyle. Below what I have done. [cell.cellImgView sd_setShowActivit...
Aminopyrine asked 1/6, 2017 at 8:33

6

Solved

I want to show the imageview's background color till the download is in progress and if the download fails or image is not available then i want to show a placeholder image. How can i achieve this?...
Affianced asked 2/2, 2017 at 7:30

© 2022 - 2025 — McMap. All rights reserved.