Custom Keyboard for Multiple Text fields
How can I use a custom keypad I have made with multiple text fields.
So far I can do it for one but not for the others.
Following is my code for the 'C' button on my customer keypad but only works for textFieldLoanAmount
开发者_如何转开发-(IBAction) clearAll:(id)sender{
currentValue = 0.0;
[stringValue setString:@""];
textFieldLoanAmount.text = @"0";
dotPressed = NO;
Any guidance will be appreciated.
Perhaps you should have some sort of a property that points to the currently active text field?
精彩评论