documentBrowserDidRequestDocumentCreationWithHandler
default void documentBrowserDidRequestDocumentCreationWithHandler(UIDocumentBrowserViewController controller,
UIDocumentBrowserViewControllerDelegate.Block_documentBrowserDidRequestDocumentCreationWithHandler importHandler)
When the user requests the creation of a new document, this method will be called. The application can then, optionally, present UI
it deems appropriate to let the user configure the new document (for example, it could show a list of templates).
When done, create an empty document or a copy of your template to a temporary location.
Then use the importHandler to pass the document URL to be imported.
If the user cancels the document creation, it's still expetected to call importHandler(nil, UIDocumentBrowserImportModeNone).
The Document Browser will asynchronously move the document to its final destination and call back one of the following delegate methods:
-documentBrowser:didImportDocumentURL:toDestinationURL:
-documentBrowser:failedToImportDocumentAtURL:error:
The app should wait for the delegate callbacks before presenting the imported document at the destination URL. Usage of UIDocument is recommended.
If you do not implement this method, document creation will not be available.