i am using the code below to save an image in the NSDocumentDirectory
NSDocumentDirectory
-(BOOL)saveImage:(UIImage *)image name:(NSString *)name{ NSString *dir =
Taking a look at the PATH_MAX constant in syslimits.h:91
... #define PATH_MAX 1024 /* max bytes in pathname */ ...
You can test this yourself by doing :
NSLog(@"%i", PATH_MAX);
just to make sure.