How can I create Sqlite database file at a fix location. I am using FMDB wrapper to create database file. I want to create the database file at the location I am entering.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
where do you want to storage your database?
fmdbmakes it very easy byFMDatabase* db = [FMDatabase databaseWithPath:@"/tmp/tmp.db"];you could just change
"/tmp/tmp.db"to the location of your preference, maybe the application support folder.