NimbleKit - fast iOS app development

TextField how to see return key in callback function

Ask questions and share your skills here

TextField how to see return key in callback function

Postby hwitten » Mon Apr 16, 2012 12:23 am

User inputs ABC in textField and touches return key on ascii keyboard.

I now want to take entry as complete, dismiss keyboard, etc.

Is there an easy way I'm missing?
I.e. is last key available in the callback so that I can check for 13 or do I have to check end of string for a 13 or do I have to use a separate button?
User avatar
hwitten
 
Posts: 57
Joined: Sat Apr 07, 2012 6:57 pm
Location: Langley, BC, Canada

Re: TextField how to see return key in callback function

Postby gmaendel » Sat May 19, 2012 5:48 pm

did you ever figure out a way of doing this? I'd like to know as well.
gmaendel
 
Posts: 17
Joined: Fri Mar 02, 2012 5:38 pm

Re: TextField how to see return key in callback function

Postby hwitten » Sun May 20, 2012 5:36 pm

If you use the latest SMFLibKit you will have all the options needed.
I was able to accomodate all my user shortcuts.
User avatar
hwitten
 
Posts: 57
Joined: Sat Apr 07, 2012 6:57 pm
Location: Langley, BC, Canada


Return to How To...

Who is online

Users browsing this forum: No registered users and 0 guests