Marking the text in a UITextView, but for some reason it refuses to accept anything that I give it using setMarkedTextStyle. -markedTextStyle always returns nil, and the selected text always looks the same (blue background and supports the color of the text).
[_taggedUsersView setMarkedTextStyle:@{UITextInputTextColorKey: [UIColor whiteColor], UITextInputTextBackgroundColorKey: [UIColor tranceLinkBlue], UITextInputTextFontKey: [UIFont fontWithName:@"HelveticaNeue-Medium" size:14.0]}];
I tried to do this when I create a text view, right before marking the text and immediately after. But it still maintains the default style and returns zero for the style.
source share