开发者

setting the value of other textfields to nil

开发者 https://www.devze.com 2023-01-23 21:04 出处:网络
I am trying to have 6 textfields that requires only one textfield to be filled in order to calculate the value of the second textbox. however i would like the textbox that are empty and arent used to

I am trying to have 6 textfields that requires only one textfield to be filled in order to calculate the value of the second textbox. however i would like the textbox that are empty and arent used to not display 0.00000 but instead remain empty. how can this开发者_StackOverflow be done? thanks


We need more information - why do the text fields contain 0.000000 to start with?

Because the code to clear a text field is pretty simple I think we don't understand your question :)

[myTextField setText:@""];
0

精彩评论

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