From 06c8e907cb15f03be9f06fea5dbf5acd80b54fbe Mon Sep 17 00:00:00 2001 From: vijay vikram singh Date: Wed, 30 Nov 2016 17:39:39 +0800 Subject: [PATCH] [TIMOB-24169](6_0_x) :Reverted changes TIMOB-23666 --- iphone/Classes/TiUIButton.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iphone/Classes/TiUIButton.m b/iphone/Classes/TiUIButton.m index 4c15aa8ee9a..760b8d68e60 100644 --- a/iphone/Classes/TiUIButton.m +++ b/iphone/Classes/TiUIButton.m @@ -263,7 +263,7 @@ -(void)setBackgroundImage_:(id)value { [backgroundImageCache release]; RELEASE_TO_NIL(backgroundImageUnstretchedCache); - backgroundImageCache = [TiUtils loadBackgroundImage:value forProxy:[self proxy]]; + backgroundImageCache = [[self loadImage:value] retain]; self.backgroundImage = value; [self updateBackgroundImage]; } @@ -472,4 +472,4 @@ -(CGFloat)contentHeightForWidth:(CGFloat)value @end -#endif \ No newline at end of file +#endif