I have a UITextField
(that represents a tip value) in my Storyboard that starts out as $0.00
. If the user types an 8
, I want the textField to read $0.08
. If the user then types a 3
, I want the textField to read $0.83
. If the user then types 5
, I want the textField to read $8.35
. How would I go about changing the input to a UITextField
in this manner?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…