The app I'm writing supports multiple languages but there is 1 textfield where I want the user to write only ascii numbers (i.e. no arabic numbers) and decimal separators.
I know it's possible to set a UITextfield's keyboardType but unfortunately there is a .decimalPad and asciiCapableNumberPad but neither of these suit my needs as asciiCapableNumberPad doesn't have the decimal separator button and decimalPad doesn't restrict it to ascii numbers.
Is it possible to have a asciiCapableDecimalPad? If not, what's the best way to restrict user input to ascii only numbers and decimal separators in a UITextField?