在iOS的SQLite版本中可以使用FTS吗? [英] is FTS available in the iOS build of SQLite?

查看:184
本文介绍了在iOS的SQLite版本中可以使用FTS吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对使用SQLite的全文本搜索功能感兴趣.

I am interested in using the full text search capability of SQLite.

我知道它没有被编译到iPhone/iOS版本中.

I understand it was not compiled in to the iPhone/iOS version.

现在仍然如此吗?

推荐答案

在iOS的sqlite3的标准内部版本中不可用,但是您仍然可以使用它.

It is not available in the standard build of sqlite3 on iOS But you can still use it.

使用它的最佳方法是下载sqlite3合并并为FTS3配置它.将sqlite3.c和sqlite3.h文件添加到您的项目中,并从应用程序的框架列表中删除sqlite3.

The best way to use it is to download the sqlite3 amalgamation and configure it for FTS3. Add the sqlite3.c and sqlite3.h file to your project and remove sqlite3 from your frameworks list on your application.

以这种方式静态地添加它会完美地工作.

Statically adding it this way will work perfectly.

这篇关于在iOS的SQLite版本中可以使用FTS吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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