in Xcode 7.2 I set Keyboard type as Number Pad for UITextField. But when I try to read the value from the text field means app get crashed. I used following code to read the integer value.
int amount = [_amount.text intValue];
Please try this it will works for me.
int amount = [_amount.text integerValue];