如何从iPhone的字典中检索随机单词? [英] How can I retrieve random words from the iPhone's dictionary?

查看:114
本文介绍了如何从iPhone的字典中检索随机单词?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我可以提供我自己的单词列表,但是使用内置的Dictionary允许

解决方案

不幸的是,这是iPhone应用程序无法访问的领域之一。



然而,还有一些可用的免费字典可供您使用。将基于文本的文件转换成ansqlite数据库很容易,这样就可以随意选择单词。



是的,你指出本地化是一个这个问题:(


Is there a way to retrieve words randomly from the built in Dictionary through the SDK?

I can provide my own list of words but using the built in Dictionary allows for easy localization.

解决方案

Unfortunately this is one of the areas of the iPhone that applications have no access to.

However there are a number of free dictionaries available that you could use as an alternative. It's easy enough to convert a text-based file into ansqlite database which then makes it super easy to pick words at random.

And yes, as you point out localization is a problem with this :(

这篇关于如何从iPhone的字典中检索随机单词?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆