In my project, I'm making a small piece of functionality that allows a user to read a body of text (in a UITextView
) faster by having one word being highlighted at a time, or even multiple if a user wants. One by one, each word in the UITextView
should be highlighted at the speed the user sets.
Is there any way I could highlight the background of a word in a UITextView
? I think it has something to do with attributed strings, but I can't find anything that highlights the background of an NSString
.
Any help or advice would be appreciated. Thanks.