ios – 如何在长按键盘上显示额外的字符

ios – 如何在长按键盘上显示额外的字符,第1张

概述如何长按虚拟键盘上的键,如何添加额外字符,如下图所示: 我正在使用this library. Apple为自定义键盘 here提供了一个解释清楚的编程指南. 根据该指南: These features and others are listed next. Appropriate layout and features based on keyboard type trait Autocorrec 如何长按虚拟键盘上的键,如何添加额外字符,如下图所示:

我正在使用this library.

解决方法 Apple为自定义键盘 here提供了一个解释清楚的编程指南.

根据该指南:

These features and others are Listed next.

Appropriate layout and features based on keyboard type trait autocorrection and suggestion automatic cAPItalization automatic period upon double space Caps lock support Keycap artwork Multistage input for IDeographic languages

You can decIDe whether or not to implement such features; there is no
dedicated API for any of the features just Listed,so provIDing them
is a competitive advantage.

您的关键字是Keycap图稿.

所以,就像他们说的那样,没有专门的API.您可以使用已知的常规方法进行设计.比如,在字母按钮上添加点击手势识别器,并且在长按字母时显示一些视图包括字母按钮的右上边缘的额外字符.

或者,您可以创建包含自定义字符的第二个键盘,并允许用户在默认键盘和您的键盘之间切换.

更新:

我还发现了this问题.这些答案可以帮助您决定做什么.

总结

以上是内存溢出为你收集整理的ios – 如何在长按键盘上显示额外的字符全部内容,希望文章能够帮你解决ios – 如何在长按键盘上显示额外的字符所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1003079.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-22
下一篇2022-05-22

发表评论

登录后才能评论

评论列表(0条)

    保存