I have a textfield which displays a result but I don't want it to be accessible by the user as in I don't want the keyboard to come up. How would I go about that in text?
I believe you are looking for: UITextField.enabled = NO;
or
UITextField.hidden = YES;
:) Hope that helps!
UITextField.enabled
rather than UITextField.Hidden
, otherwise you will no longer see your textfield.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With