开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜