How we can hide a text selection menu or context menu options like copy selectall lookup and all in IOS
Hide text Selection Menu in iOS
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhishek YadavRank #217 · 11.3K reputationPosted Oct 19, 2022, 9:27 PM EDT
When using textField.selectAll(), passing the textField's delegate makes the pop up menu appear.
For no popup menu use textField.selectAll(nil)
Deepak RawatRank #646 · 3.7K reputationPosted Oct 26, 2022, 2:07 AM EDT
(BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string
this work for me you can try with these line.