Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个禁用的行:
XLFormRowDescriptor *row = ... XLFormRowDescriptorTypeText ... row.disabled = @YES
默认情况下,禁用的行是灰色的,但我需要更改其默认颜色。
我尝试设置它的 'textField.textColor' ,但这不起作用。
我的问题是,如何更改默认颜色?
这对我有用:
[row.cellConfigIfDisabled setObject:[UIColor redColor] forKey:@"textLabel.textColor"];