How we can hide a text selection menu or context menu options like copy selectall lookup and all in IOS
Loading
How we can hide a text selection menu or context menu options like copy selectall lookup and all in IOS
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Deepak RawatPosted Oct 26, 2022, 6:07 AM
(BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string
this work for me you can try with these line.
Abhishek YadavPosted Oct 20, 2022, 1:27 AM
When using textField.selectAll(), passing the textField's delegate makes the pop up menu appear.
For no popup menu use textField.selectAll(nil)