When we click on a text field, the cursor appears in this text field; but I do not want this cursor to appear; then I want to disable this text box where you cannot write inside, how can I do this?
Can you set the included property / userInteractionEnabled from the text field to No in ViewDidLoad () using code
textField.enabled = NO;
or
textField.userInteractionEnabled = NO;
If you are working with puff files or .nib files and you want it to be disabled, you can also easily disable the included property in the interface builder for a while.
Source: https://habr.com/ru/post/887701/More articles:Why does IE8 freeze on jQuery window.resize event? - javascriptjquery wrap iframe in div - jqueryIs there a better way to do with named arguments? - cRegular expression problem (extracting one text or another) - regexThe third way to find a duplicate is algorithmFacebook FBConnect fbDialogLogin method on Facebook.m hits EXC_BAD_ACCESS on FBSessionDelegate object _sessionDelegate - iosLinkedin Ruby Gem (Token Rejected in Callback) - ruby โโ| fooobar.comRewriteRule forces page to reload twice - url-rewritingFocus on NSTextView - cocoaDetermine if this JavaScript action has been triggered by the user - javascriptAll Articles