Objective C Textfield Default Value “•••••••” to "1•••••••”,“12•••••”,“123••••” when user click number
问题 I want to create textfield that has default value “•••••••” , when user click a number on UIKeyboardTypeNumberPad, it will be added textfield like that “1••••••”(for example clicked number 1) and “12•••••”(for example second clicked number 2).Each click to UIKeyboardTypeNumberPad will be added to textfield respectively. How can i do this? Thanks. 回答1: I have used some trick to do this.. First drag UILable and set text with ●●●●●●●. Now drag a UITextField and put it over UILable. Now change