ios - Delete a folder and its subfolders in Objective-C / C -


How can I delete a folder and its subfolders in Objective-C / C on iOS?

You can use NSFileManager :

  BOOL success = [[NSFileManager defaultManager] RemoveItemAtPath: pathToFolder error: zero];    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -