And Xcode log
*\ Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UITableViewCellContentView 0x16ed6070> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key backgroundColor .'
I also tried
@"backgroundColor ":[UIColor clearColor]
It also doesn't work. Xcode log:
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<FXFormDefaultCell 0x165b5de0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key backgroundColor .'
I want to set cell's background to transparent. here is my code
(NSArray *)fields { return @[@{FXFormFieldTitle: NSLocalizedString(@"Scan Video", nil), FXFormFieldAction: @"scanVideoTouched",@"contentView.backgroundColor ":[UIColor clearColor],@"imageView.image":[UIImage imageNamed:@"btn_MainView_leftSlider"]}, @{FXFormFieldTitle: NSLocalizedString(@"New Word Note", nil), FXFormFieldAction: @"newWordTouched"}, @{FXFormFieldTitle: NSLocalizedString(@"Local Video", nil), FXFormFieldAction: @"localVideoTouched"}, @{FXFormFieldTitle: NSLocalizedString(@"Local Network Sharing", nil), FXFormFieldAction: @"LANTouched"}, @{FXFormFieldTitle: NSLocalizedString(@"Record And Match", nil), FXFormFieldAction: @"recordTouched"}, @{FXFormFieldTitle: NSLocalizedString(@"Homework", nil), FXFormFieldAction: @"homeworkTouched"}, @{FXFormFieldTitle: NSLocalizedString(@"Prefrence", nil), FXFormFieldAction: @"prefrenceTouched"}, @{FXFormFieldTitle: NSLocalizedString(@"Change Account", nil), FXFormFieldAction: @"logOutTouched"},
}
And Xcode log *\ Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UITableViewCellContentView 0x16ed6070> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key backgroundColor .'
I also tried @"backgroundColor ":[UIColor clearColor] It also doesn't work. Xcode log: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<FXFormDefaultCell 0x165b5de0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key backgroundColor .'