How to programmatically search for a word from the built-in iOS dictionary?

Is it possible to programmatically search for a word from the built-in iOS dictionary?

eg

: I have the word say 'apple' and I have to look for the presence of this word in the iOS dictionary.

Can anyone help ..?

+3


source to share


1 answer


You can use UIReferenceLibraryViewController dictionaryHasDefinitionForTerm:

to find out if a word exists in the dictionary.



+5


source







All Articles