I am using UIDocumentInteractionControllerDelegate
methods to work with the documents.
I have opened the document in a UIWebview
. I am trying to share the document through email to other users. For that purpose I'm calling presentOptionsMenuFromBarButtonItem
to display the menu item. It's working till iOS 7 versions, but currently I'm testing with iOS8 and getting the following message in the console:
UIDocumentInteractionControllerDelegate implements legacy action methods. Please remove them.
Any suggestions?
Are you using at least one of these 2 methods?
- (BOOL)documentInteractionController:(UIDocumentInteractionController *)controller canPerformAction:(SEL)action NS_DEPRECATED_IOS(3_2, 6_0);
- (BOOL)documentInteractionController:(UIDocumentInteractionController *)controller performAction:(SEL)action NS_DEPRECATED_IOS(3_2, 6_0);
They are deprecated from 6.0. Try not to use them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With