I am using directoryContentsAtPath: which is deprecated in iOS 4 what to use instead this??
directoryContentsAtPath:
Thanks
directoryContentsAtPath: Returns the directories and files (including symbolic links) contained in a given directory. (Deprecated in iOS 2.0. Use contentsOfDirectoryAtPath:error: instead.)
Returns the directories and files (including symbolic links) contained in a given directory. (Deprecated in iOS 2.0. Use contentsOfDirectoryAtPath:error: instead.)