Closed Mohamed3amer closed 10 years ago
The problem is that this property does not follow naming convention (should be called backgroundImage) and UISS image converter does not recognise the value. You can fix it with a simple category:
@interface UITextField (UISS)
- (void)setBackgroundImage:(UIImage *)image UI_APPEARANCE_SELECTOR;
@end
@implementation UITextField (UISS)
- (void)setBackgroundImage:(UIImage *)image {
self.background = image;
}
@end
I need to change background of UITextField but doesn't work
"UITextField": { "background":"txtField1" }