Is there a way to create custom UIDataDetectorTypes?
<p>What I am trying to do is create tooltip functionality so that certain words in my instructional app can be tapped and the definition pops up.  For the popup part I plan on using code from “AFInformationView” which provides bubbles on the iPhone.</p>

<p>The part I'm struggling with is how to associate A particular word's location with the bubble.  Currently I have the text on a UILabel that is on a custom UITableCell.  Since I calculate the row height on the fly with:</p>

<pre><code>[textToUse  sizeWithFont:[UIFont systemFontOfSize:FONT_SIZE] constrainedToSize:CGSizeMake(stop-start, 500)];
</code></pre>

<p>I'm not sure what the coordinates for a specific word will be.  I was thinking that if I created a custom DataDetectorType that could be the fix.</p>

<p>If anyone knows how to do this or has any other ideas I would be happy to hear them.</p>

<p>Thanks,</p>

<p>Andrew</p>
