summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
authoradrianknight89 <adrianknight89@outlook.com>2016-12-30 22:14:13 (GMT)
committerE.Z. Hart <hartez@users.noreply.github.com>2016-12-30 22:14:13 (GMT)
commitffab6dd82e45f563ced3924fcbe8baa0a4a127fa (patch)
tree2727b54a807850be3bf0904756a8b833eea92115 /Xamarin.Forms.Platform.iOS
parent32dab1d3c7641688e9435be22297e092bcdb5ee6 (diff)
downloadxamarin-forms-ffab6dd82e45f563ced3924fcbe8baa0a4a127fa.zip
xamarin-forms-ffab6dd82e45f563ced3924fcbe8baa0a4a127fa.tar.gz
xamarin-forms-ffab6dd82e45f563ced3924fcbe8baa0a4a127fa.tar.bz2
[iOS] Change keyboard type while keyboard is visible (#443)
* Change keyboard while changing text * add sample code
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs1
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs1
2 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs
index c92ccb4..448ebad 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs
@@ -118,6 +118,7 @@ namespace Xamarin.Forms.Platform.iOS
void UpdateKeyboard()
{
Control.ApplyKeyboard(Element.Keyboard);
+ Control.ReloadInputViews();
}
void UpdateText()
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs
index a50a4e7..9c4e298 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs
@@ -155,6 +155,7 @@ namespace Xamarin.Forms.Platform.iOS
void UpdateKeyboard()
{
Control.ApplyKeyboard(Element.Keyboard);
+ Control.ReloadInputViews();
}
void UpdatePassword()