dimanche 13 septembre 2015

iPhone full text search - create s3db

I have to implement full text search in iPhone app. My scenario is i have HTML content in resource folder, & reference available in SQLite DB. I have to give search facility so I decided to go with FTS.

Now I have problem, install database in iPhone

There are two ways I can achieve install database.

1> before copying database into iPhone install location, set up FTS table & data. i.e install database with complete set together

If I want to do like above way then I should create SQLite compiled database. Problem how to create compile database. refer this link

2> First install normal database set, then programmatically create FTS database & insert records into db. It's ok. Initial time/ first install time take more time

I tried like this Could you please, anyone help me how to create s3db format database,

Aucun commentaire:

Enregistrer un commentaire