diff options
author | adrianknight89 <adrianknight89@outlook.com> | 2016-12-30 16:14:13 -0600 |
---|---|---|
committer | E.Z. Hart <hartez@users.noreply.github.com> | 2016-12-30 15:14:13 -0700 |
commit | ffab6dd82e45f563ced3924fcbe8baa0a4a127fa (patch) | |
tree | 2727b54a807850be3bf0904756a8b833eea92115 /Xamarin.Forms.Platform.iOS | |
parent | 32dab1d3c7641688e9435be22297e092bcdb5ee6 (diff) | |
download | xamarin-forms-ffab6dd82e45f563ced3924fcbe8baa0a4a127fa.tar.gz xamarin-forms-ffab6dd82e45f563ced3924fcbe8baa0a4a127fa.tar.bz2 xamarin-forms-ffab6dd82e45f563ced3924fcbe8baa0a4a127fa.zip |
[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.cs | 1 | ||||
-rw-r--r-- | Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs | 1 |
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 c92ccb4b..448ebada 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 a50a4e7a..9c4e2983 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() |