SQLite数据库中的表数据在Simulator中显示正常,但在部署到设备时不会出现

时间:2021-12-12 23:06:43

Table data in SQLite database shows fine in Simulator but does not appear when deployed to device.

SQLite数据库中的表数据在Simulator中显示正常,但在部署到设备时不会出现。

Would appreciate if anyone can help.

如果有人能帮忙,我将不胜感激

1 个解决方案

#1


0  

Check if the database is really installed to device, or that it really is being written to a writeable place on the device.

检查数据库是否确实已安装到设备,或者是否确实将数据库写入设备上的可写入位置。

I had a similar problem, because it is much easier to write anywhere with the simulator.

我遇到了类似的问题,因为使用模拟器在任何地方编写都要容易得多。

#1


0  

Check if the database is really installed to device, or that it really is being written to a writeable place on the device.

检查数据库是否确实已安装到设备,或者是否确实将数据库写入设备上的可写入位置。

I had a similar problem, because it is much easier to write anywhere with the simulator.

我遇到了类似的问题,因为使用模拟器在任何地方编写都要容易得多。