Update readme for 1st party progress indicator support
From [this merge](https://github.com/rs/SDWebImage/pull/1217/files#diff-2cc725cd4b29e8acd64b4b01e5f82f36R382 "this merge")
This commit is contained in:
parent
032ab1dd6d
commit
73847d1818
12
README.md
12
README.md
|
@ -119,7 +119,17 @@ If you don't control the image server you're using, you may not be able to chang
|
|||
|
||||
### Add a progress indicator
|
||||
|
||||
See this category: https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebImage
|
||||
Add these before you call ```sd_setImageWithURL```
|
||||
|
||||
``` objective-c
|
||||
[imageView setShowActivityIndicatorView:YES];
|
||||
[imageView setIndicatorStyle:UIActivityIndicatorViewStyleGray];
|
||||
```
|
||||
|
||||
``` swift
|
||||
imageView.setShowActivityIndicatorView(true)
|
||||
imageView.setIndicatorStyle(.Gray)
|
||||
```
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
|
Loading…
Reference in New Issue