About Custom Keyboard in Swift

Asked 2 years ago, Updated 2 years ago, 127 views

I am currently making a custom keyboard for iOS with Swift.I can now type in romaji, but I can't find a way to convert Japanese using romaji input like iOS standard keyboard.I would appreciate it if you could let me know if there are any helpful articles.

ios swift2

2022-09-30 21:16

1 Answers

Unfortunately, there is no API for Japanese conversion, so you have to implement it yourself.

An easy way to do this is to use the Japanese conversion web API, such as Google Japanese input API.In this case, network access is required for Japanese translation.

https://www.google.co.jp/ime/cgiapi.html

Another not-so-easy way is to build an open source version of Google Japanese input for iOS.

(Example)
https://github.com/kishikawakatsumi/Mozc-for-iOS


2022-09-30 21:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.