Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to search a word from inbuilt iOS dictionary programatically?

Is it is possible to search a word from inbuilt iOS dictionary programatically?

eg: I have a word say 'apple', and I have to search for the presence of this word in the iOS dictionary.

Can anyone help..?

like image 444
Krishna Raj Salim Avatar asked Jan 23 '26 15:01

Krishna Raj Salim


1 Answers

You can use UIReferenceLibraryViewController dictionaryHasDefinitionForTerm: to see if the word exists in the dictionary.

like image 123
rmaddy Avatar answered Jan 26 '26 07:01

rmaddy



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!