I’m beginning to learn Xcode and as the first app i decided to write a calculator. I did everything and it works pretty good but there is one thing i couldn’t find. I want when the user writes Letters instead of numbers and taps the button , an alert appear and prevents him from entering letters.I’ll appreciate you if help me and sry for my bad english.
Share
As the comment said, you’ll probably be better off just changing the input type of the keyboard.
See list of all available types here.