Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding custom fonts to the keyboard extension ios 8

How can I add custom fonts to ios 8 Keyboard extenstion like this.Can anyone have a tutorial or example from which I can refer.Like this example https://itunes.apple.com/us/app/fontkeyboard-for-ios-8-use/id914787397?mt=8

like image 278
user1878531 Avatar asked Feb 03 '26 04:02

user1878531


1 Answers

1.In the above link they have the special characters as letters, Please refer below URL http://fsymbols.com/letters/

2.In Your Extension,You have to maintain the two arrays one is with regular letter (A,B,C,D….)to show on your Keyboard

3.Second one is the Special character that you want to display in your target E.g..,(Ⓐ,Ⓑ,Ⓒ,Ⓓ..) (⒜,⒝,⒞,⒟….)

4.Use can directly copy the special characters from the above reference URL,and then you return the value of selected letter

5.If you want to give an options like the referred app,you need to maintain the array of those letters and return the value that you wanted to display for that selected letter.

Here is the keyboard button action,the insertText method used to insert your text to the target. enter image description here enter image description here

Please find my blog on how to creating third-party keyboards :Here's a link

Please find my sample project on github : Simple Custom Keyboard Sample

like image 187
Gagan Avatar answered Feb 04 '26 19:02

Gagan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!