When users need to enter some data, the corresponding keyboard is shown up to them. E.x. when users need to enter a phone number, digits appear; when users must enter their email, the keyboard with @ sign opens up.
Check the example:
Here’s also the instruction on how to set up a numeric keyboard for IOS: https://nativescript.org/blog/nativescript-ios-numeric-keyboard/