Numeric keyboard on IOS

Asked

Viewed 225 times

1

I’m starting to program and I have some questions from Noob :) I wanted to know how I do in a Uitextfield automatically raise the number pad?

I tried to use keyboardType but I don’t know exactly how to apply the properties

Thank you

2 answers

1

I didn’t quite understand the doubt, but it wouldn’t just change directly on the storyboard?

If you want a way to change during the program:

[textField setKeyboardType:UIKeyboardTypeNumberPad];

I hope I have understood and helped! rs

0


  • 4

    if you can describe the solution presented in the video, it will help anyone else in the future who comes in this same question (and can only speak Portuguese)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.