Вот UIDocuemtnInteractionController из моего приложения (не показывает опцию почты)
Здесь используется образец проекта Apple
Вот соответствующие коды
Мое приложение
docInteractionController = [UIDocumentInteractionController interactionControllerWithURL:fileURL];
[docInteractionController presentOpenInMenuFromBarButtonItem:(UIBarButtonItem*)sender animated:YES];
Пример проекта 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];
ЧТО МНЕ НУЖНО СДЕЛАТЬ, ЧТОБЫ ПОЛУЧИТЬ ВАРИАНТ ПО ПОЧТЕ?