You can't, UIDocumentInteractionController
is for documents. It is even in the name.
A solution would be to save the string to text file and share that file, or if you want to share a string, for example to post on a social network you should use UIActivityViewController