The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > Omni Frameworks
FAQ Members List Calendar Today's Posts

 
Link Detection on OUIEditableFrame Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Starting from the TextEditor sample would work, though depending on the format of the text from a web service, using UIWebView might be easier.

If you are able to find links in the text w/o using data detectors, you can apply a OALinkAttributeName attribute with a NSURL value to the applicable range of the NSAttributedString you hand over to OUIEditableFrame. Of course, if you are doing this, you may also find it is easier to fetch the results from your web service and internally convert them to HTML and use a UIWebView. OUIEditableFrame may not be the right tool for the job, though it probably can be made to do it.
__________________
CTO, The Omni Group
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
OUIEditableFrame truncating? tommetge Omni Frameworks 1 2010-12-26 06:41 AM
Scrolling an OUIEditableFrame tommetge Omni Frameworks 1 2010-08-07 11:01 AM
OUIEditableFrame dependencies tommetge Omni Frameworks 2 2010-08-06 07:28 AM
RSS Feed Title Detection hardcoreUFO OmniWeb Feature Requests 0 2008-02-06 10:22 AM
5.7[96513] Some browser detection problem on songbird website marlwin OmniWeb Bug Reports 0 2007-12-29 03:54 PM


All times are GMT -8. The time now is 10:24 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.