Is it possible to change a text selection style? I have attached screenshot here (https://i.stack.imgur.com/foqBxm.png). I need to set plain highlight like this https://i.stack.imgur.com/8R0s1.png. Any solution?
Update:
I resolved by adding following code,
NSDictionary* d = [textField typingAttributes];
NSMutableDictionary* md = [NSMutableDictionary dictionaryWithDictionary:d];
md[NSBackgroundColorAttributeName] = [UIColor greenColor];
[textfield setTypingAttributes:md];
textfield.text = @"test";
Thanks!