diff --git a/AutoSuggestBox/AutoSuggestBoxSample.iOS/AutoSuggestBoxSample.iOS.csproj b/AutoSuggestBox/AutoSuggestBoxSample.iOS/AutoSuggestBoxSample.iOS.csproj index 60d725b..119a3d7 100644 --- a/AutoSuggestBox/AutoSuggestBoxSample.iOS/AutoSuggestBoxSample.iOS.csproj +++ b/AutoSuggestBox/AutoSuggestBoxSample.iOS/AutoSuggestBoxSample.iOS.csproj @@ -47,7 +47,7 @@ prompt 4 None - i386 + x86_64 false diff --git a/AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox/NativeAutoSuggestBox.iOS.cs b/AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox/NativeAutoSuggestBox.iOS.cs index fb9370c..d650a59 100644 --- a/AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox/NativeAutoSuggestBox.iOS.cs +++ b/AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox/NativeAutoSuggestBox.iOS.cs @@ -105,7 +105,7 @@ public string PlaceholderText public void SetPlaceholderTextColor(global::Xamarin.Forms.Color color) { // See https://github.com/xamarin/Xamarin.Forms/blob/4d9a5bf3706778770026a18ae81a7dd5c4c15db4/Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs#L260 - inputText.AttributedPlaceholder = new NSAttributedString(inputText.Placeholder, null, ColorExtensions.ToUIColor(color)); + inputText.AttributedPlaceholder = new NSAttributedString(inputText.Placeholder ?? string.Empty, null, ColorExtensions.ToUIColor(color)); } public bool IsSuggestionListOpen diff --git a/AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox.csproj b/AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox.csproj index 2c60bbd..5bb8138 100644 --- a/AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox.csproj +++ b/AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox/dotMorten.Xamarin.Forms.AutoSuggestBox.csproj @@ -10,7 +10,7 @@ https://github.com/dotMorten/XamarinFormsControls https://github.com/dotMorten/XamarinFormsControls/tree/master/AutoSuggestBox Apache-2.0 - 0.4.0 + 0.5.0 $(MSBuildThisFileDirectory)bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml true true