Friday, 18 January 2019

Keyboard Overlap in IOS (Xamarin Forms)

Keyboard Overlap for your Xamarin.Forms project fixes the Keyboard Overlap issue on iOS. Ensure you call KeyboardOverlapRenderer.Init() in your iOS project.



In Android, you will not encounter the keyboard-sliding up issue because by default the UI moves up when the keyboard appears on your screen. This is not the case with iOS.
In iOS, you have to manually fix the overlapping keyboard whether it is Xamarin.iOS, Xamarin Forms, or even iOS on the XCode.

If Cocoapod library in Swift has IQKeyboardManager, a codeless drop-in universal library that allows prevents issues of keyboard sliding up and cover UITextField/UITextView, Xamarin has a Nuget package that solves this problem. It is called Xam.Plugins.Forms.KeyboardOverlap



Install-Package Xam.Plugins.Forms.KeyboardOverlap -Version 1.0.0.4




Nuget Link 

Github Link

No comments:

Post a Comment

All About .NET MAUI

  What’s .NET MAUI? .NET MAUI (.NET Multi-platform App UI) is a framework for building modern, multi-platform, natively compiled iOS, Androi...

Ads2