Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-02-2010, 12:44 PM   #1 (permalink)
Matthijn
Registered Member
 
Join Date: Jul 2009
Posts: 10
Matthijn is on a distinguished road
Default UIWebview selection (or a Rich Text View)

Since there is (as far as I know) no 'Rich Text View' available (multiple colors, and styles in the same view), I thought of using the UIWebView for this purpose, which should work fine.

Only there is one problem, I can't seem to retrieve the current selection of the user. With the UITextView this is possible, only that view does not support rich text editing.

So, is it possible to retrieve the selection? I've tried playing with Javascript for this purpose (since this is a UIWebView, and I am a web-developer from origins) but the events for retrieving selection don't seem to work on the iPhone browser (though it does work on the Apple Safari browser on the Mac), so that is something that won't work either.

Is this possible any way?

My idea is that people can 'mark' the text, like a marker on paper. (And some functionality, by being able to click the marked text and place a note there).
Matthijn is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,529
Threads: 94,050
Posts: 402,635
Top Poster: BrianSlick (7,978)
Welcome to our newest member, wigginsray
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:58 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.