[英]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 上,有一个示例,这个包专注于 IOS : michaeltyson/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.