SakuraKit
SakuraKit copied to clipboard
UITextField 的占位文字颜色如何自定义切换
暂时通过这种方式解决。
UILabel *placeholderLabel = [textField valueForKeyPath:@"_placeholderLabel"];
placeholderLabel.sakura.textColor(@"Global.textColor");
iOS 13了,这个方法行不通了