NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES);
NSString *documentsDir = [paths objectAtIndex:0];//第一种
[NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]//第二种
NSString *documentsDir = [paths objectAtIndex:0];//第一种
[NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]//第二种