iOS Question Allow only number input into TextView?

Arf

Well-Known Member
Licensed User
Longtime User
I want to keep the DEFAULT keyboard as there seems no other way to ensure a DONE button appears on the keyboard, but I also want to restrict the entry of anything except numbers in my TextView.

Is there any method I can use to do this?

Or, how can I test (without getting an exception) whether the TextView contains a dignified number like 582.33 as opposed to some trouble-causing riffraff like 123g9*,x?

Thanks
 
Top