Making iOS UITextField accept number only

And learn the many ways of UITextField handling

Picture by Nick Hillier on Unsplash

To have a simple way of accepting text input from user in an iOS App, we could use UITextField. By default it received string (alphabet, number, symbols etc).

In order to make it receive number (positive number including zero), it is harder than it sound, as there’s much consideration…

--

--