UITextChecker Custom Dictionary
I am curious if anyone knows of a way to use the the iPhone/iPad built-in spellchecker but use a cus开发者_JAVA技巧tom dictionary? Basically UITextChecker loaded with an array of words that I provide to it.
You cannot provide a custom dictionary in the current version of the SDK.
If you need this functionality immediately, you could implement it yourself using UIMenuController to display the suggestions (which is how the framework does it). That isn't a small task though.
精彩评论