|
@@ -195,16 +195,16 @@ static char TAG_ACTIVITY_SHOW; |
|
@@ -195,16 +195,16 @@ static char TAG_ACTIVITY_SHOW; |
195
|
#if SD_UIKIT || SD_MAC
|
195
|
#if SD_UIKIT || SD_MAC
|
196
|
else if ([view isKindOfClass:[UIImageView class]]) {
|
196
|
else if ([view isKindOfClass:[UIImageView class]]) {
|
197
|
UIImageView *imageView = (UIImageView *)view;
|
197
|
UIImageView *imageView = (UIImageView *)view;
|
198
|
- finalSetImageBlock = ^(UIImage *tempImage, NSData *tempData) {
|
|
|
199
|
- imageView.image = image;
|
198
|
+ finalSetImageBlock = ^(UIImage *setImage, NSData *setImageData) {
|
|
|
199
|
+ imageView.image = setImage;
|
200
|
};
|
200
|
};
|
201
|
}
|
201
|
}
|
202
|
#endif
|
202
|
#endif
|
203
|
#if SD_UIKIT
|
203
|
#if SD_UIKIT
|
204
|
else if ([view isKindOfClass:[UIButton class]]) {
|
204
|
else if ([view isKindOfClass:[UIButton class]]) {
|
205
|
UIButton *button = (UIButton *)view;
|
205
|
UIButton *button = (UIButton *)view;
|
206
|
- finalSetImageBlock = ^(UIImage *tempImage, NSData *tempData){
|
|
|
207
|
- [button setImage:image forState:UIControlStateNormal];
|
206
|
+ finalSetImageBlock = ^(UIImage *setImage, NSData *setImageData){
|
|
|
207
|
+ [button setImage:setImage forState:UIControlStateNormal];
|
208
|
};
|
208
|
};
|
209
|
}
|
209
|
}
|
210
|
#endif
|
210
|
#endif
|