NSString *filePath = [ NSHomeDirectory () stringByAppendingFormat : @/Documents/%@ , datafile ]; 1.?用slog 打印出数据库?文件存放路径: /Users/PEL/Library/Application Support/iPhoneSimulator/7.1/Applications/C416C934-F608-42F9-A8F7-77911F32C
<span>NSString </span><span>*filePath = [</span><span>NSHomeDirectory</span><span>() </span><span>stringByAppendingFormat</span><span>:</span><span>@"/Documents/ %@"</span><span>,</span><span>datafile</span><span>]; </span>
1.?用slog 打印出数据库?文件存放路径:/Users/PEL/Library/Application Support/iPhoneSimulator/7.1/Applications/C416C934-F608-42F9-A8F7-77911F32CB2F/Documents/smartClothe.sqlite
2.
在finder找到该?文件
?用firefox sqlite manger
双击 打开就?行了