So I want to have a UITextField
to only accept digits, solved that by using a custom keyboard input.
The intention of this UITextField
is to get someones birthday. I don't want to use an UIDatePicker
tough as I don't like it's appearance.
I'd like that the TextField
automatically inserts dashes after every second digit that the user put into the TextField
.
dd-mm-yy
is the placeholder text. I either thought of making the dashes permanently but I don't know how to do that either.
How can I do this?