ios - Entering/Clearing specific UITextfields? -
my aim have text boxes - set amount per level people guess hidden word. don't want uitextfield tapped , bring keyboard, i'd have different button brings keyboard - if that's possible.
if each box separate text field how go entering text. when user types on standard apple keypad, how each character inputted text field. i'd preferably text show in box key tapped.
i'm having trouble clearing letters. user mis-spells , doesn't realise until keyboard has resigned first responder, how make user can tap on maybe 2 boxes if rest of word spelt right , program clear it?
is there way of writing program inputs text if text field empty? continuing example above switch 2 letters, tap clear, bring keypad , next key pressed fills empty boxes. not allowing program input text in used text field contains single character?
i'm using cocos2d - don't know if makes difference. hope understand mean, although i'm rather bad @ explaining.
thank in advance time , :).
instead of having textbox don't want users edit, why not use label?
to show keyboard, need have linked uitextfield (or similar). use invisible uitextfield, , monitor input , send characters correspinding labels. refer this question.
to check if textfield has in it:
[textfield.text length] > 0, use labels instead of textfields.
i dont understand other parts of question.
Comments
Post a Comment