简体   繁体   English

当特定的UITextField成为第一响应者时,打开“自定义键盘扩展”

[英]Open Custom Keyboard Extension when specific UITextField become first responder

Is it possible to open only my custom keyboard in container app when a textfield in the container app becomes first responder? 当容器应用程序中的文本字段成为第一响应者时,是否可以在容器应用程序中仅打开我的自定义键盘? And how do i detect if system keyboard appeared instead of custom keyboard? 以及如何检测是否出现系统键盘而不是自定义键盘?

如下所示,将customkeyboardView分配为UITextField的inputView

textField.inputView = customkeyboardView

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM