Small README Update For 4.0.0

Update the method name in the README to match the method name in 4.0.0.
This commit is contained in:
Wenzhi 2017-02-01 16:52:59 -05:00 committed by GitHub
parent 1f52288a8b
commit 7751b35eec
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