[英]Keyboard is not being dismissed: Facebook Account Kit iOS 11
I have integrated Facebook Account Kit SDK v.4.26.0. 我已经集成了Facebook Account Kit SDK v.4.26.0。
Following is the scenario in which I am facing difficulty: 以下是我遇到困难的情况:
When user clicks on sign in, Login with Phone Number controller is being presented and keyboard is appeared immediately on that screen to enter phone number. 当用户点击登录时,正在显示使用电话号码控制器登录,并且该屏幕上会立即出现键盘以输入电话号码。 Now I tap on anywhere in the screen outside textfield & keyboard to trigger keyboard dismiss event. 现在我点击文本区域和键盘外的屏幕中的任何位置来触发键盘解除事件。 But from iOS 11.*, keyboard is not dismissed and if I navigate back by clicking back button, in that situation also keyboard remains open. 但是从iOS 11 *开始,键盘不会被解雇,如果我通过单击后退按钮导航回来,那么键盘仍然打开。 Keyboard dismiss action works fine before iOS 11.0. 键盘解除操作在iOS 11.0之前正常工作。
Following are the steps I have tried to resolve this problem: 以下是我尝试解决此问题的步骤:
1. Using AKFViewController instance which is presented for authentication, I tried to execute view.endEditing(true)
in order to dismiss keyboard from delegate methods of AKFViewControllerDelegate
. 1.使用提供用于身份验证的AKFViewController实例,我尝试执行view.endEditing(true)
以便从AKFViewControllerDelegate
委托方法中解除键盘。 ( This method did not worked ) ( 这种方法不起作用 )
This is fixed in the 4.28.0 release 这已在4.28.0版本中修复
https://developers.facebook.com/bugs/102125683887755/ https://developers.facebook.com/bugs/102125683887755/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.