UITextField and UITextView functionality?
Hi all,
I'm new here and have been doing a lot of reading... My app is basically working, but I wanted to see if I've hopefully missed some UITextField and UITextView functionality, before I resign to live without it.
What I want is a single line editable control that scrolls horizontally and notifies the app on "done"/return. I also want to allow the user to press some explicit UI buttons (in addition to the standard keyboard) to perform certain kinds of edits, at the current cursor/insertion point.
So here are my questions... Thanks in advance for any help!
1. can I replace the keyboard layout with a new layout that would redistribute the symbol keys, so all the ones I care about are on the same "page" (then I would not need my explicit UI buttons). It seems I have to go outside the "official" SDK to do this.
2. can I get the cursor position from a UITextField? I know how to do this for a UITextView, but not for a UITextField. Also, I can get the position of the last change easily enough, but that won't tell me if the user *just* moved the cursor, without changing anything else.
3. can I configure a UITextView for single-line editing and horizontal scrolling? It seems I can easily intercept the "done"/return key to spoof single-line mode, but I can't get horizontal scrolling when the user input exceeds the view's horizontal size, and if I vertically size the view less than 3 lines high, even the vertical scrolling breaks.
-- Rich
|