简体   繁体   English

你如何在 Xamarin 项目中使用 tpkeyboardavoiding?

[英]How do you use tpkeyboardavoiding in a Xamarin project?

Does anyone know how to implement the Xamarin.TPKeyboardAvoiding nuget package?有谁知道如何实现 Xamarin.TPKeyboardAvoiding nuget 包? I can't seem to find any sample code for its usage.我似乎找不到任何使用它的示例代码。

Do you add it to your .Portable project, .iOS, or both?您是否将它添加到您的 .Portable 项目、.iOS 或两者中?

I am assuming it gets used in conjunction with the ScrollView but not sure.我假设它与 ScrollView 结合使用但不确定。

Alternatively is there a more recent/better tool for moving the UI when the keyboard pops up?或者,是否有更新/更好的工具来在键盘弹出时移动 UI?

From their Github, there is a sample, this package is focused on IOS : michaeltyson/TPKeyboardAvoiding从他们的 Github 上,有一个示例,这个包专注于 IOSmichaeltyson/TPKeyboardAvoiding
In this link (from XamGirl) has an "custom tool" for this : Adjusting elements when keyboard shows in Xamarin Forms在此链接中(来自 XamGirl)有一个“自定义工具”在 Xamarin Forms 中显示键盘时调整元素

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Xamarin CSS中使用自定义字体系列? - How do you use custom font families with Xamarin CSS? Xamarin ...如何将Main(PCL?)项目中的文件链接到OS特定项目? - Xamarin… How do you link a file in the Main (PCL?) project into the OS specific project? 如何在 Xamarin.ZE84E30B9390CDB64DB6DB2C9 - How do you get the TouchView nuget working with Android in Xamarin.Android project? 如何在Xamarin共享项目中使用自定义渲染器 - How to use Custom Renderer in Xamarin Shared Project 如何使用转换器在 Xamarin Forms 中启用/禁用 Xaml 控件? - How do you use a converter to enable/disable a Xaml control in Xamarin Forms? 如何使用 java 依赖于 xamarin android 项目? - How to use java dependencies to xamarin android project? 如何在现有的 iOS 或 Android 项目中使用 Xamarin? - How to use Xamarin in existing iOS or Android Project? 如何修改 EF-Core Database-First (PostgreSQL) 项目以使其也与 SQLite 和 Xamarin.Forms 一起使用 - How do you modify a EF-Core Database-First (PostgreSQL) project to also work with SQLite and Xamarin.Forms 如何在 Xamarin 表单中使用 EditableFactory? - How do I use EditableFactory in Xamarin Forms? 如何使Xamarin.Forms开关不可见? - How do you make a Xamarin.Forms Switch Invisible?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM