1

I am working on an iOS Keyboard Extension. I need to use a custom font in my keyboard extension. This part is completed. Now the problem is that, if i type in safari or any other app using my keyboard extension, the character typed their should also be in my custom font style.

Same like this application on app store works

https://itunes.apple.com/US/app/id923893166?mt=8&ign-mpt=uo%3D4

I spent almost 1 day to find a way to do this, but i didn't find any result. If anybody here can help me, Please help me on this.

Thanks in Advance.

4

1 回答 1

2

您无法更改iOS 上任何文本字段中的字体。

相反,开发人员发现了一些覆盖字母表的 unicode 字符集,并将它们作为字体呈现给用户。

如果您从据称由该键盘用户撰写的一篇热情洋溢的评论中复制粘贴短语“ᏴᎬᎦᏆ”(顺便说一句,iOS 3rd-party 键盘目前无法在 App Store 中输入评论)并将其粘贴到 UnicodeChecker 中,您会发现它实际上是 unicode 字符 U+13F4、U+13AC、U+13A6 和 U+13C6。

“最佳”一词的实际代码是 U+0042、U+0045、U+0053 和 U+0054。

如果您想制作自己的 Unicode 键盘,可以在http://unicode-table.com/找到“字体”列表。

于 2014-12-14T03:58:58.310 回答