Merge pull request #1778 from Wenzhi/patch-1
Small README Update For 4.0.0
This commit is contained in:
commit
a393f99448
|
@ -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```
|
Add these before you call ```sd_setImageWithURL```
|
||||||
|
|
||||||
``` objective-c
|
``` objective-c
|
||||||
[imageView setShowActivityIndicatorView:YES];
|
[imageView sd_setShowActivityIndicatorView:YES];
|
||||||
[imageView setIndicatorStyle:UIActivityIndicatorViewStyleGray];
|
[imageView sd_setIndicatorStyle:UIActivityIndicatorViewStyleGray];
|
||||||
```
|
```
|
||||||
|
|
||||||
``` swift
|
``` swift
|
||||||
imageView.setShowActivityIndicatorView(true)
|
imageView.sd_setShowActivityIndicatorView(true)
|
||||||
imageView.setIndicatorStyle(.Gray)
|
imageView.sd_setIndicatorStyle(.Gray)
|
||||||
```
|
```
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
|
|
Loading…
Reference in New Issue