且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IOS下sqlite数据库文件默认路径

更新时间:2022-06-21 06:55:26

使用下面代码即可获取:
NSString *documentPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];