iOS Question Is there a way to disable the 3 finger gesture in iOS 13???

Johnny5

Member
Licensed User
Hope everybody is doing good!!!
I am newbie to iOS, so don't know much about Objective-C.
Is there a way to disable the 3 finger gesture in iOS 13 on iPhone and (or) iPad, when I have a TextField present in my App.
I guessing some Objective-C code, might be the only way to overcome this annoying problem!
 

Attachments

  • Help.JPG
    Help.JPG
    401.1 KB · Views: 105

Semen Matusovskiy

Well-Known Member
Licensed User
If to believe articles, you need to overwrite editingInteractionConfiguration. Guess, for TextField you can add to bottom of main module something like this:

B4X:
#IF OBJC
@end
@interface UITextField (Sema)
@end
@implementation UITextField (Sema)
- (UIEditingInteractionConfiguration) editingInteractionConfiguration { return UIEditingInteractionConfigurationNone; }
#End If

I made a small sample, which subclasses TextView in addition to TextField.
Removes copy/paste etc. also. Not relative to 3 fingers, but can be useful in some situations..
 

Attachments

  • s23.zip
    169.5 KB · Views: 92
Last edited:
Upvote 0
Top