The problem is that your UIDocumentInteractionController
is being released right after being presented, due to the variable docController
no longer being in scope.
To prevent that, you should create a strong
property or an instance variable and store your UIDocumentInteractionController
in there. That way, the UIDocumentInteractionController
will stick around until you release the object controlling it, which should be long enough for the user to make a selection...