trying to add done button to Numeric keyboard

前端 未结 4 927
星月不相逢
星月不相逢 2020-12-16 21:22

I\'m trying to add a \"done\" button to the UIKeyboadnumpad, but with no success. What\'s wrong in my code?

the keyboard don\'t have the done button

         


        
4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-16 22:21

    Some of the tutorials are incomplete or are much older. This tutorial works from IOS 4.3 onwards and I checked it. Save the two image graphics, and paste in the code. There is very little to change. Here is the link.

    ps. I am not affiliated in any way with this article, but found it to be complete.

    http://www.neoos.ch/blog/37-uikeyboardtypenumberpad-and-the-missing-return-key

提交回复
热议问题