Set placeholder on all UIButton stats (fix #120)
This commit is contained in:
parent
b6e0630b17
commit
eff6cac284
|
@ -29,6 +29,9 @@
|
||||||
[manager cancelForDelegate:self];
|
[manager cancelForDelegate:self];
|
||||||
|
|
||||||
[self setImage:placeholder forState:UIControlStateNormal];
|
[self setImage:placeholder forState:UIControlStateNormal];
|
||||||
|
[self setImage:placeholder forState:UIControlStateSelected];
|
||||||
|
[self setImage:placeholder forState:UIControlStateHighlighted];
|
||||||
|
|
||||||
|
|
||||||
if (url)
|
if (url)
|
||||||
{
|
{
|
||||||
|
@ -55,6 +58,8 @@
|
||||||
[manager cancelForDelegate:self];
|
[manager cancelForDelegate:self];
|
||||||
|
|
||||||
[self setImage:placeholder forState:UIControlStateNormal];
|
[self setImage:placeholder forState:UIControlStateNormal];
|
||||||
|
[self setImage:placeholder forState:UIControlStateSelected];
|
||||||
|
[self setImage:placeholder forState:UIControlStateHighlighted];
|
||||||
|
|
||||||
if (url)
|
if (url)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue