UITextField have to accept the numbers only by using UITableView.
In your xib file select the textFiled and in the property list there is a field Keyboard select Number Pad