Created
October 2, 2019 12:38
-
-
Save torarnv/61fe72b1734c6260e32ecb8fc4e7bad2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/src/plugins/platforms/ios/quiview.mm w/src/plugins/platforms/ios/quiview.mm | |
index e64c05d099..c91e14dd28 100644 | |
--- i/src/plugins/platforms/ios/quiview.mm | |
+++ w/src/plugins/platforms/ios/quiview.mm | |
@@ -344,6 +344,14 @@ Q_LOGGING_CATEGORY(lcQpaTablet, "qt.qpa.input.tablet") | |
// ------------------------------------------------------------------------- | |
+- (void)addInteraction:(id<UIInteraction>)interaction | |
+{ | |
+ if ([interaction isKindOfClass:UITextInteraction.class]) | |
+ return; // Prevent iOS from adding UITextInteraction | |
+ | |
+ [super addInteraction:interaction]; | |
+} | |
+ | |
- (void)traitCollectionDidChange:(UITraitCollection *)previousTraitCollection | |
{ | |
[super traitCollectionDidChange: previousTraitCollection]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment