This is a draft.
In iOS 7 and earlier one could delete any temporary files in documentInteractionControllerDidDismissOptionsMenu:
. In iOS 8 there is no way to know when to clean up.
Sending a file to an app in iOS 7
documentInteractionControllerWillPresentOptionsMenu:
documentInteractionController:willBeginSendingToApplication:
documentInteractionController:didEndSendingToApplication:
documentInteractionControllerDidDismissOptionsMenu:
Sending a file to an app in iOS 8
documentInteractionControllerWillPresentOptionsMenu:
documentInteractionControllerDidDismissOptionsMenu:
documentInteractionController:willBeginSendingToApplication:
documentInteractionController:didEndSendingToApplication:
Sending a 600 MB file to an app in iOS 7
// 16:54:41:282
documentInteractionControllerWillPresentOpenInMenu:
// 16:54:53:186
documentInteractionController:willBeginSendingToApplication:
// 16:54:53:724
documentInteractionControllerDidDismissOpenInMenu:
// 16:55:05:468
documentInteractionController:didEndSendingToApplication:
Cancelling sending a file to an app in iOS 7
documentInteractionControllerWillPresentOptionsMenu:
documentInteractionControllerDidDismissOptionsMenu:
Cancelling sending a file to an app in iOS 8
documentInteractionControllerWillPresentOptionsMenu:
documentInteractionControllerDidDismissOptionsMenu: