Detect Character Tapped in UITextView
问题 I'm using the below code to detect words tapped in a UITextView. This works fine, but I want to detect some special characters, like a ? . ? doesn't show up as part of a word when using UITextGranularityWord and I can't seem to get it to show up when using UITextGranularityCharacter either. How can I detect taps on single special characters such as the ? ? -(NSString*)getWordAtPosition:(CGPoint)pos inTextView:(UITextView*)_tv { //eliminate scroll offset pos.y += _tv.contentOffset.y; //get