UIKeyboardTypeDecimalPad language change

Turns out the the UIKeyboardTypeDecimalPad on the iphone is not only region specific re decimal point as period ( . ) vs comma ( , ) but also

changes depending on the language. For instance using Belgium as region and English as language a comma appears as expected

for the region. However if the language changes to Belgian French or Dutch a period appears. I use NSNumberFormatter and NSLocale to

check for decimal input - It expects a comma with those regions using comma and therefore will not accept a period when the language

changes the decimal to period instead of expected comma. Is there a work around to know whether a period or comma is being presented

on the decimapad ?

UIKeyboardTypeDecimalPad language change
 
 
Q