Set placeholder on all UIButton stats (fix #120)

This commit is contained in:
Olivier Poitrey 2012-05-14 10:32:26 +02:00
parent b6e0630b17
commit eff6cac284
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,9 @@
[manager cancelForDelegate:self];
[self setImage:placeholder forState:UIControlStateNormal];
[self setImage:placeholder forState:UIControlStateSelected];
[self setImage:placeholder forState:UIControlStateHighlighted];
if (url)
{
@ -55,6 +58,8 @@
[manager cancelForDelegate:self];
[self setImage:placeholder forState:UIControlStateNormal];
[self setImage:placeholder forState:UIControlStateSelected];
[self setImage:placeholder forState:UIControlStateHighlighted];
if (url)
{