|
|||||||||
|
|||||||||
|
|||
|
I am using this code to hide the directories, is this the most efficient one or is there any other better way to do this?
Code:
NSFileManager *fileManger = [NSFileManager defaultManager];
NSString *oldPath;
NSString *newPath;
if ([fileManager moveItemAtPath:oldPath toPath:newPath error:nil])
{
NSLog (@"Renamed");
}
else
{
NSLog (@"Error renaming");
}
[fileManager release];
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need a simple utility developed to move directories into Sandbox $$$ | brettb | iPhone Developer Exchange | 2 | 02-16-2009 11:58 PM |
| [SSH] how to change owner of directories and/or apps on 1.1.4 ? | fabiopigi | Tools | 8 | 05-05-2008 06:39 PM |
| How to delete files in iphone directories? using iBricker? | AMAUS | General | 2 | 10-12-2007 01:34 AM |
| Can't create new directories??? mkdir insists any dir I make already exists! | Sonikku | General | 5 | 08-05-2007 09:01 AM |
|
|