获得文件的路径

 

 

NSString *doc=[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject];

 

NSString *fileName=[doc stringByAppendingPathComponent:@"student.sqlite"]

posted @ 2015-10-10 17:10  上官元空  阅读(135)  评论(0编辑  收藏  举报