1

Simple question: Is there a way to customize keyboards in Swift?

What i want: A keyboard with 0-9, delete, comma and +/- buttons

Default Keyboards are either missing the comma or comma and +/- buttons

Any help would be appreciated

4
  • Yes, you can create your own input view for a UITextField, but you will have to create the view and keys yourself. Commented Mar 9, 2016 at 10:56
  • Thats one way i also thought of. Are you sure that there is no other way of achieving this? Commented Mar 9, 2016 at 11:34
  • Check this tutorial. appcoda.com/custom-keyboard-tutorial Commented Mar 9, 2016 at 12:39
  • Thanks for the link, seems kind of useable Commented Mar 9, 2016 at 13:02

1 Answer 1

2

Probably your best approach is to take the Decimal Keyboard as it is, and add the few additional functionality you need with an accessoryView. With this you can design a new row on top of the keyboard

Sign up to request clarification or add additional context in comments.

1 Comment

Exactly what i was looking for! THANKS

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.