Merge pull request #1778 from Wenzhi/patch-1

Small README Update For 4.0.0
This commit is contained in:
Bogdan Poplauschi 2017-02-02 08:07:42 +02:00 committed by GitHub
commit a393f99448
1 changed files with 4 additions and 4 deletions

View File

@ -124,13 +124,13 @@ If you don't control the image server you're using, you may not be able to chang
Add these before you call ```sd_setImageWithURL```
``` objective-c
[imageView setShowActivityIndicatorView:YES];
[imageView setIndicatorStyle:UIActivityIndicatorViewStyleGray];
[imageView sd_setShowActivityIndicatorView:YES];
[imageView sd_setIndicatorStyle:UIActivityIndicatorViewStyleGray];
```
``` swift
imageView.setShowActivityIndicatorView(true)
imageView.setIndicatorStyle(.Gray)
imageView.sd_setShowActivityIndicatorView(true)
imageView.sd_setIndicatorStyle(.Gray)
```
Installation