hello guys,
i am trying to validate, if the certain folder in a path exist or not! i checked this code:
but eventhough /Extra is a valid path it return NO yet!
i am trying to validate, if the certain folder in a path exist or not! i checked this code:
Code:
NSFileManager *filemgr
BOOL s=[filemgr fileExistsAtPath:@"/Extra" ];
if (s== NO) {
NSLog(@"This path does not exist or its existence could not be determined!");
}else {
NSLog(@"path exist.");
}
but eventhough /Extra is a valid path it return NO yet!