//沙盒总目录
NSLog(@"%@",NSHomeDirectory());
//沙盒中tmp 的目录
NSLog(@"%@",NSTemporaryDirectory());
//沙盒中*.app的目录地址
NSLog(@"%@",[[NSBundle mainBundle] bundlePath]);
DOC文件路径
[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject];
[[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject];