I use UIDocumentInteractionController
to share data with other apps on device
self.docInteraction = [UIDocumentInteractionController interactionControllerWithURL:imageAttachFile];
self.docInteraction.delegate = self;
[self.docInteraction presentOpenInMenuFromRect:CGRectZero inView: self.view animated: YES ];
It works nice, but it disappears after device rotation. What is the reason of it and how to fix this?