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).
|