Skip to content

Commit

Permalink
Fix ipad keyboard issue and add nuget 1.0.3 nuspec
Browse files Browse the repository at this point in the history
  • Loading branch information
masonyc committed Nov 29, 2018
1 parent 4347305 commit e8c0442
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
Binary file added Screenshots/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions nuget/Xamarin.EnableKeyboardEffect.1.0.3.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Xamarin.EnableKeyboardEffect</id>
<version>1.0.3</version>
<title>Xamarin.EnableKeyboardEffect</title>
<authors>masonyc</authors>
<owners>masonyc</owners>
<iconUrl>https://raw.githubusercontent.com/masonyc/Xamarin.EnableKeyboardEffect/master/Screenshots/icon.png</iconUrl>
<projectUrl>https://github.com/masonyc/Xamarin.EnableKeyboardEffect</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>Toggle softkeyboard display for Anroid / iOS in Xamarin.Forms</description>
<summary></summary>
<releaseNotes>
</releaseNotes>
<tags>Xamarin.Forms, Xamarin.Anroid, Xamarin.iOS</tags>
<language>en-US</language>
<dependencies>
<group targetFramework="netstandard2.0">
<dependency id="Xamarin.Forms" version="3.0.0.446417" />
</group>
<group targetFramework="Xamarin.iOS10">
<dependency id="Xamarin.Forms" version="3.0.0.446417" />
</group>
<group targetFramework="MonoAndroid">
<dependency id="Xamarin.Forms" version="3.0.0.446417" />
</group>
</dependencies>
</metadata>
<files>
<!-- .netstandard 2.0 -->
<file src="../scr/Xamarin.EnableKeyboardEffect/bin/Release/netstandard2.0/Xamarin.EnableKeyboardEffect.dll" target="lib/netstandard2.0" />
<!-- Mono.Android -->
<file src="../scr/Xamarin.EnableKeyboardEffect/bin/Release/netstandard2.0/Xamarin.EnableKeyboardEffect.dll" target="lib/MonoAndroid" />
<file src="../scr/Xamarin.EnableKeyboardEffect.Droid/bin/Release/Xamarin.EnableKeyboardEffect.Droid.dll" target="lib/MonoAndroid" />
<!-- Xamarin.iOS10 -->
<file src="../scr/Xamarin.EnableKeyboardEffect/bin/Release/netstandard2.0/Xamarin.EnableKeyboardEffect.dll" target="lib/Xamarin.iOS10" />
<file src="../scr/Xamarin.EnableKeyboardEffect.iOS/bin/Release/Xamarin.EnableKeyboardEffect.iOS.dll" target="lib/Xamarin.iOS10" />
</files>
</package>
4 changes: 3 additions & 1 deletion scr/Xamarin.EnableKeyboardEffect.iOS/KeyboardEnableEffect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ protected override void OnAttached()
{
return;
}

nativeTextField.InputView = new UIView();

nativeTextField.InputAssistantItem.LeadingBarButtonGroups = null;
nativeTextField.InputAssistantItem.TrailingBarButtonGroups = null;
nativeTextField.BecomeFirstResponder();
}
catch (Exception ex)
Expand Down

0 comments on commit e8c0442

Please sign in to comment.