pietrorea / PRLabel

A UILabel subclass that brings up a keyboard, UIPickerView or UIDatePicker on tap.
11 stars 6 forks source link

Same thing for UITextField #1

Open nuthinking opened 12 years ago

nuthinking commented 12 years ago

Would be nice to have to same for UITextField. This provides also features like Placeholder copy. Cheers!

pietrorea commented 12 years ago

UITextField already brings up a standard keyboard as inputView on tap. If you want to replace the keyboard on a text field you could just override inputView and inputAccessoryView directly. Maybe I'm not understanding what your suggestion?

nuthinking commented 12 years ago

Hi Pietro, the only issue with UITextField control is the blinking caret.

pietrorea commented 12 years ago

I don't think there's a straightforward way of removing the cursor. Have you done it before?

nuthinking commented 12 years ago

No, and I couldn't find much online. I might have a look into it.

pmagnuson commented 10 years ago

I'm getting an error on self.dateTextField.inputAccessoryView = [self accessoryToolbar]; no selector for accessoryToolbar. Anyone else have this problem?