Hi i have a requirement to simulate an error that states the iphone applicatio is unable to open the database and display values from it. i use sqllite. Please let me know how to simulate that error. I tried by locking the database file, changing the db file to readonly, but nothing happened… please let me know how to simulate the error…
Share
Open the database with a separate connection, set exclusive locking mode, and make some change (you don’t need to commit it).