How to rename a folder in Swift

Use the moveItem() methof of the FileManager to rename a folder in iOS development

Here I am renaming test-directory to test-directory-new

Leave a Reply

Your email address will not be published. Required fields are marked *