I'm saving a file using UIDocumentPickerViewController, by having it move and rename a file from a temp location:
UIDocumentPickerViewController* documentPicker = [[UIDocumentPickerViewController alloc] initForExportingURLs:@[theTempFileURL] asCopy:YES];
[self presentViewController:documentPicker animated:true completion:nil];
As part of this process, the user can choose a new name for the file. How can I get the file name the user chose for the save?