Skip to content

Commit

Permalink
Merge pull request #8149 from AngelkPetkov/TIMOB-23666
Browse files Browse the repository at this point in the history
[TIMOB-23666] iOS: Button setting backgroundImage doesn't appear to work
  • Loading branch information
hansemannn committed Jul 21, 2016
2 parents 818309f + 7ee97f4 commit 60391d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/Classes/TiUIButton.m
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ -(void)setBackgroundImage_:(id)value
{
[backgroundImageCache release];
RELEASE_TO_NIL(backgroundImageUnstretchedCache);
backgroundImageCache = [[self loadImage:value] retain];
backgroundImageCache = [TiUtils loadBackgroundImage:value forProxy:[self proxy]];
self.backgroundImage = value;
[self updateBackgroundImage];
}
Expand Down

0 comments on commit 60391d2

Please sign in to comment.