Try that it should do the job:
NSString * yourPath = @"/folder1/folder2/folder3";
NSError * error = nil;
BOOL success = [[NSFileManager defaultManager] createDirectoryAtPath: yourPath
withIntermediateDirectories:YES
attributes:nil
error:&error];
if (!success)
NSLog(@"Error");
else
NSLog(@"Success");