Reputation: 93
getting error like deny Write-File-Data While Adding the data into Sqlite. I am running my application on simulator the sqlite is working fine .but when I am running it on device it is throughing an error.
Upvotes: 0
Views: 243
Reputation: 77281
Make sure you are writing to a file path that is within the device sandbox area. The simulator doesn't have this restriction. See these SO answers:
Upvotes: 1