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:
Tim Broder 2016-11-01 13:29:36 -04:00 committed by GitHub
parent 032ab1dd6d
commit 73847d1818
1 changed files with 11 additions and 1 deletions

View File

@ -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
------------