I am facing problem in accessing database file when I am running it on device. How can I get that file? There is no problem in accessing file when I am running application o
do
NSString *dbFilePath=[NSHomeDirectory stringByAppendingPathComponent:@"mysqlite.sqlite"];
this should work for both device and simulator.