UIDocumentInteractionController no muestra la opción de correo
Aquí está el UIDocuemtnInteractionController de mi aplicación (no muestra la opción de correo)
Aquí el que usa el proyecto de ejemplo de Apple
Aquí están los códigos respectivos
Mi aplicación
docInteractionController = [UIDocumentInteractionController interactionControllerWithURL:fileURL];
[docInteractionController presentOpenInMenuFromBarButtonItem:(UIBarButtonItem*)sender animated:YES];
Proyecto de muestra de Apple
NSURL *fileURL;
if (cellIndexPath.section == 0)
{
// for section 0, we preview the docs built into our app
fileURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:documents[cellIndexPath.row] ofType:nil]];
}
else
{
// for secton 1, we preview the docs found in the Documents folder
fileURL = [self.documentURLs objectAtIndex:cellIndexPath.row];
}
self.docInteractionController.URL = fileURL;
[self.docInteractionController presentOptionsMenuFromRect:longPressGesture.view.frame
inView:longPressGesture.view
animated:YES];
¿QUÉ DEBO HACER PARA OBTENER LA OPCIÓN DE CORREO?