Showing posts with label uitextfield. Show all posts
Showing posts with label uitextfield. Show all posts

Tuesday, May 8, 2012

how can I dismiss keyboard when I will just touch anywhere except UITextField?


Hello I have two UITextFields in my application, and want to dismiss the keyboard when I just touch anywhere except the UITextFields how can I do this?

Thursday, March 8, 2012

iPhone how to check that a string is numeric only


How do I validate the string input from a UITextField? I want to check that the string is numeric, including decimal points.

Wednesday, February 8, 2012

UIKeyboardTypeNumberPad type letters?


I really want to make a keyboard that is the UIKeyboardTypeNumberPad but instead of it showing a 4 in a textfield when pressing the 4 button, i want it to highlight the G for about 5 seconds and while its highlighted, if i press again it goes to h then to i, and for all letters, so 2 would start A then b then c if clicked multiple times? i found out on IOS they have a built in one that does this, but its not exactly the UIKeyboardTypeNumberPad and its for japanese, it will show, and type in US but still some japanese around and is hard to use because its not a true full UIKeyboardTypeNumberPad. like 0 is space or go to next letter, not on the japanese one though. so how could i code this for my application?