0

Very simple question: How do I add a UIReturnKey to a UIKeyboardTypeDecimalPad? If I assign the textField.returnKeyType = UIReturnKeyNext; to the textfield, nothing happens (as it normally would given any other keyboard type).

Thanks.

casparjespersen
  • 2,662
  • 4
  • 32
  • 44

1 Answers1

0

Normally UIKeyboardTypeDecimalPad does not have return key for iPhone but you can add your own buttons using

@property (readwrite, retain) UIView *inputAccessoryView

property of UITextfield

Mert
  • 5,867
  • 3
  • 19
  • 32