Replaced-Arabic-Digits-With-English-Digits

This project will help you fixed crash when entring Arabic/Hindi numbers like ١,٢,٣,٤,٥,٦,٧,٨,٩,٠

It will convert it to english numbers 1,2,3,4,5,6,7,8,9,0

What you need to do ?

copying and pasting ReplacedArabicDigitsWithEnglish.swift to your project

then just add .replacedArabicDigitsWithEnglish

fox example

label.text = "١"

make it like this

label.text = "١".replacedArabicDigitsWithEnglish