I was developing an application for iPhone which handl es numeric fields to register information. To my disappointment, even in iOS 4, there is no default keyboard for a Number pad including a dot “.”; there is a Number pad with numbers from 0 to 9 and the backspace, in the other hand we have the Numbers and punctuations, which includes numbers, dot, parenthesis, and other symbols. T he problem with the former is the absence of a dot and the later is that we can easily switch to the alphabetical keyboard. But what happen with the Number pad including a dot? The Number pad keyboard includes a blank space After a little search a found a couple of examples of including the dot in the kwyboard, using the blank space. First, lets say we have a text field defined and connected to the interface IBOutlet UITextField * textMoney ; And wich keyboard type is the Number Pad self . textMoney . keyboardType = UIKeyboardTypeNumberPad ; In order to include the Dot, we need to stat receiving...
Comments