From e71f54eeefe6a42d58b4ec986623b4b780838923 Mon Sep 17 00:00:00 2001 From: Satoshi Nakamura Date: Wed, 25 Nov 2020 10:31:40 +0900 Subject: [PATCH] iOS EntryCell keytype Default -> Done --- Sample/Sample.iOS/Info.plist | 2 ++ SettingsView.iOS/Cells/EntryCellRenderer.cs | 2 +- nuget/AzurePipelines.nuspec | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Sample/Sample.iOS/Info.plist b/Sample/Sample.iOS/Info.plist index 109037d..883ec31 100644 --- a/Sample/Sample.iOS/Info.plist +++ b/Sample/Sample.iOS/Info.plist @@ -44,5 +44,7 @@ SettingsView CFBundleAllowMixedLocalizations + CFBundleDevelopmentRegion + ja diff --git a/SettingsView.iOS/Cells/EntryCellRenderer.cs b/SettingsView.iOS/Cells/EntryCellRenderer.cs index 9d981d4..d00d4d7 100644 --- a/SettingsView.iOS/Cells/EntryCellRenderer.cs +++ b/SettingsView.iOS/Cells/EntryCellRenderer.cs @@ -34,7 +34,7 @@ public EntryCellView(Cell formsCell) : base(formsCell) { ValueField = new UITextField() { BorderStyle = UITextBorderStyle.None }; ValueField.AutoresizingMask = UIViewAutoresizing.FlexibleWidth | UIViewAutoresizing.FlexibleHeight; - + ValueField.ReturnKeyType = UIReturnKeyType.Done; ValueField.EditingChanged += _textField_EditingChanged; ValueField.EditingDidBegin += ValueField_EditingDidBegin; ValueField.EditingDidEnd += ValueField_EditingDidEnd; diff --git a/nuget/AzurePipelines.nuspec b/nuget/AzurePipelines.nuspec index 10e0268..f61648d 100644 --- a/nuget/AzurePipelines.nuspec +++ b/nuget/AzurePipelines.nuspec @@ -29,6 +29,7 @@ There are various cells such as (LabelCell,ButtonCell,CommandCell,SwitchCell,Che ## Changes +* [EntryCell][iOS] Keyboard enter key caption changed "Return" to "Done". * [Header/Footer] Section header/footer does not respect SafeAreaInsets #83 * Support .NETStandard2.1 * Minimum Xamarin.Forms version >= 4.6.0.800