How to disable the shift language in the numeric panel in iOS Objective-C?

I have texFiled. I am my view controller and I set the number pad for this:

self.phoneTextField.keyboardType = UIKeyboardTypeNumberPad; 

And now I want the user to just be able to enter the English number in the text box (I can’t change the language)

enter image description here

+5
source share
1 answer

NO , we cannot disable or Hidden properties of the keyboard, it is impossible to process the default property of Keyboardtype in iOS , if you want to do this your own setting, then you go to Custom Keyboard Concept. try again once with Keyboard Types

Choice 2

in this place you can add one Overlay to disable, you can get a sample from here .but

If Apple finds out that the key is private or. disabled, they will most likely reject the application.

+3
source

Source: https://habr.com/ru/post/1264193/


All Articles