You are going to have to draw the text yourself using NSString's drawing 
methods and then use the regular touch events and CGRects to do that. Or use a 
UIWebView with links to each word that you recognize. 

-- 
Alex Kac
On my mobile device so please excuse the brevity. 

On Apr 30, 2010, at 12:38 AM, Sasikumar JP <jps...@gmail.com> wrote:

> Hi,
>       I am working on a iPhone Application. I want to implement the following 
> feature in my app, but i don't know how to implement it.
> 
>       I want to display the read-only text content in UITextView, where user 
> can tap any word in the text. It should take the user to next screen to 
> display more detail about the tapped word.
> 
>       I dont know how to get tapped word from the UITextView.
> 
>       I have set the UITextView as a read-only to avoid the popping key-board 
> and I have subclassed the UITextView to override the canPerformAction: 
> withSender to disable the cut & paste feature.
> 
>       I have overridden touchesBegan method to get the touch/tap Event. But i 
> am not sure how to get only the tapped word from the complete text.
> 
> 
>       Any help is highly appreciated.
> 
> 
> Thanks
> Sasikumar_______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/alex%40webis.net
> 
> This email sent to a...@webis.net
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to