Quote:
Originally Posted by Fastrak
Suppress editing of the field with
[textField setEditable:NO];
and then in the touch handler see if the touch was within textField's frame
(I have not tried this so YMMV)
|
When you do this, you no longer have a flashing cursor. Is there a way to do this so that one just looses the keyboard but doesn't loose the cursor and the clear button. That way you could place the cursor within the text and not just at the end and thereby insert or delete characters.
I've tried implementing a UITextFieldDelegate and sending [textField resignFirstResponder] but that doesn't work.
- Dan.