Questions tagged [sdwebimage]

SDWebImage is a simple image library for iOS which provides caching and an easy way to load remote images asynchronously into UIImageViews.

This library provides a category for UIImageVIew with support for remote images coming from the web.

It provides:

  • An UIImageView category adding web image and cache management to the Cocoa Touch framework
  • An asynchronous image downloader
  • An asynchronous memory + disk image caching with automatic cache expiration handling
  • A guarantee that the same URL won't be downloaded several times
  • A guarantee that bogus URLs won't be retried again and again
  • Performance

More info can be found on the github page.

885 questions
-1
votes
2 answers

I want cache images without show them in any imageView how do this i want do progress while I´m change to use the by url later

SDWebImageDownloader *downloader = [SDWebImageDownloader sharedDownloader]; [downloader downloadImageWithURL:[[NSURL alloc] initWithString:url] options:0 …
-1
votes
4 answers

How to load images faster in UICollectionView?

I have array of images which contain fullpath of image. I stored images in document directory. The problem is when i scroll down the image load time in collection view is slow so scrolling is also very poor. Referencing this code to make it…
Mitesh Dobareeya
  • 970
  • 1
  • 11
  • 36
-1
votes
2 answers

How can I improve loading time for UIImage loading?

This is the code which I have done so far: [userpic sd_setImageWithURL:[NSURL URLWithString:imageURL] placeholderImage:[UIImage imageNamed:@"blackSquare.png"] options:SDWebImageProgressiveDownload];
Balaji Gupta
  • 33
  • 1
  • 12
-1
votes
2 answers

SDWebImage load pictures and something about setting HTTP headers

I'm facing the problem that every picture has different HTTP headers and I have to set it before downloading: SDWebImageDownloader *manager = [SDWebImageManager sharedManager].imageDownloader; [manager @"value"…
zhongdom
  • 19
  • 3
-1
votes
1 answer

SDWebImage/Parse Apple Mach O-Link error

I'm getting 201 Apple Mach-O Link errors while using Parse and the SDWebImage framework. The app runs fine on my phone, but when using the simulator, I get the errors. Here's what I've imported and the errors I'm getting:
Chris Jones
  • 856
  • 1
  • 11
  • 24
-1
votes
1 answer

Unable to use SDWebImage in my TableViewController

Good afternoon, I'm trying to use SDWebImage in my project but I'm always getting a different error and I'm a little bit desperated with that, I hope you can help me with that. I tried following a tutorial to import the framework from gitHUB but…
MontyLt
  • 5
  • 5
-1
votes
1 answer

Image loaded form redirected URL has wrong size

I am using SDWebImage to load and image from the web and set it to a marker on a map. The URL of the image may change over time. Because of that I use an url redirection which stays stable and points to the original url. Unfortunatly there is…
D.D.
  • 413
  • 3
  • 12
-1
votes
2 answers

SDWebImage into NSArray

How can I add 3 imageviews using SDWebImage into NSArray? I have my images in this form: [self.imageView1 setImageWithURL:[NSURL URLWithString:[self.objc objectForKey:@"image1"]] placeholderImage:[UIImage…
Milan1111
  • 185
  • 3
  • 13
-1
votes
1 answer

Library not working in iOS, getting a bunch of error? (SDWebImage)

I am having this issue while using SDWebImage not sure why but it randomly happened unless I did something that I do not understand, but when I compile I get around 40 errors that are based on the library. It was working before I changed some code…
Lion789
  • 4,402
  • 12
  • 58
  • 96
-1
votes
1 answer

Working version of SDWebImage

I accidentally deleted my old SDWebImage version from my project and now I need to readd it again. The newest versions can be added as a framework to Xcode, but that doesn't work, because if I do that, I get linker errors left and right. So it would…
user975561
  • 514
  • 1
  • 6
  • 17
-2
votes
1 answer

Sometimes app crash in SDWebImage(SDWebImageDownloaderOperation#cancelInternal)

We have used SDWebImage Lib on Our App.(SDWebImage Version 3.7.2) Recently, the app terminate abnormally sometimes.(In SDWebImageDownloaderOperation#cancelInternal.) the following is stacktrace. Crashed: com.apple.main-thread EXC_BAD_ACCESS…
helloidea
  • 13
  • 1
  • 4
-2
votes
3 answers

How to use sdimage in uiimage caching?

Anyway to handle or display UIImage with caching and with placeholder? I have found one answer from stack exchange but it didnot work for me given below the link : Best way to cache images on ios app? Notes: I dont have any URL because i get image…
SmarterSusheel
  • 169
  • 2
  • 15
-2
votes
1 answer

iOS // displaying lots of large (fullscreen) remote images

I'm experiencing problems (app crashes) when navigating in an app that uses lots of remote image (a hundred total, more or less)s Using SDWebImage, what's described here by many is what happens (the memory usages' getting huge) What would be a…
Ben
  • 5,030
  • 6
  • 53
  • 94
-4
votes
2 answers

How would I be able to pass an image when data is passed from one View Controller to another?

How would I be able to show an image from HomeViewController to the CartViewController I have the code setup in my cells to where the data passes from one VC to another, Im trying to present the image when the data is passed How would I be able to…
Evelyn
  • 186
  • 1
  • 4
  • 25
-4
votes
1 answer

Getting image original size with sdwebimage in swift

I download image from firebase but i cant make original sized image what should I do? thanks
matmano
  • 1
  • 2
1 2 3
58
59