FAFA.MAUI.IOS.IQKeyboardManager 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package FAFA.MAUI.IOS.IQKeyboardManager --version 1.0.2                
NuGet\Install-Package FAFA.MAUI.IOS.IQKeyboardManager -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FAFA.MAUI.IOS.IQKeyboardManager" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FAFA.MAUI.IOS.IQKeyboardManager --version 1.0.2                
#r "nuget: FAFA.MAUI.IOS.IQKeyboardManager, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FAFA.MAUI.IOS.IQKeyboardManager as a Cake Addin
#addin nuget:?package=FAFA.MAUI.IOS.IQKeyboardManager&version=1.0.2

// Install FAFA.MAUI.IOS.IQKeyboardManager as a Cake Tool
#tool nuget:?package=FAFA.MAUI.IOS.IQKeyboardManager&version=1.0.2                

IQKeyboardManager MAUI Bindings

original library creator

YOU MAY GENERATE A NEW XCFRAMEWORK BY DOING THE FOLLOWING

  1. Clone the original creators repository
  2. Open terminal inside the root directory of the project
  3. Run a pod install (assumption is you had cocoapods installed)
  4. Run the following xcodebuild -target IQKeyboardManager -configuration Release -sdk iphoneos BUILD_DIR=output
  5. One directory up, there will be an output folder which will have the updated xcframework
  6. Copy over the generated .framework into the .net project, rebuild the library
  7. Bindings may change, so you will have to update ApiDefinition.cs and StructsAndEnums.cs manually.

REGENERATE FILES

download sharpie

USAGE

// in MauiProgram.cs
#if IOS

using Maui.IQKeyboardManager;
using Microsoft.Maui.Platform;
using UIKit;

#endif
...
public static MauiApp CreateMauiApp()
{
    var builder = MauiApp.CreateBuilder();
    builder
        .UseMauiApp<App>()
        .ConfigureLifecycleEvents(events =>
        {
            #if IOS
            events.AddiOS(ios =>
            {
                ios.FinishedLaunching((a, b) =>
                { 
                    // disable MS Version so it doesn't interfere with IQKeyboardManager 
                    KeyboardAutoManagerScroll.Disconnect();
                    IQKeyboardManager.SharedManager.Enable = true;
                    
                    return true;
                });
            });
            #endif
        });
    ...
    return builder.Build();
}
...
Product Compatible and additional computed target framework versions.
.NET net8.0-ios18.0 is compatible.  net9.0-ios was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0-ios18.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 54 2/21/2025
1.0.2 45 2/21/2025
1.0.1 48 2/20/2025
1.0.0 46 2/20/2025

.NET MAUI Bindings for IQKeyboardManager.