光标隐藏
[[self.nameField valueForKey:@"textInputTraits"] setValue:[UIColor clearColor] forKey:@"insertionPointColor"];
//光标
的颜色
[[
UITextField
appearance
]
setTintColor
:[
self
diffColor
:color]];
光标隐藏
[[self.nameField valueForKey:@"textInputTraits"] setValue:[UIColor clearColor] forKey:@"insertionPointColor"];