From 4ef5012271666d801727dee24afad5852bcb07bb Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 2 Feb 2021 18:41:36 +0000 Subject: [PATCH] iOS: Fixed UIViewAlertForUnsatisfiableConstraints warning when showing the onscreen keyboard --- modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm b/modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm index f3545d2405..d46b598c39 100644 --- a/modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm +++ b/modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm @@ -386,6 +386,8 @@ MultiTouchMapper UIViewComponentPeer::currentTouches; hiddenTextView.autocapitalizationType = UITextAutocapitalizationTypeNone; hiddenTextView.autocorrectionType = UITextAutocorrectionTypeNo; + hiddenTextView.inputAssistantItem.leadingBarButtonGroups = @[]; + hiddenTextView.inputAssistantItem.trailingBarButtonGroups = @[]; return self; }