defaulting iPhone numeric keypad

前端 未结 1 801
刺人心
刺人心 2021-01-18 21:46

Hi can anybody tell me how to show a default numeric keypad on iPhone rather than a character keypad.

1条回答
  •  花落未央
    2021-01-18 21:52

    [myTextField setKeyboardType:UIKeyboardTypeNumberPad];
    

    0 讨论(0)
提交回复
热议问题