How do I combine a UIActivityViewController and a UIDocumentInteractionController? The Mail app and the Tumblr app seem to compine a UIActivityViewController with a UIDocumentInteractionController because their controllers also show the "Open in" buttons besides the UIActivities. How can I accomplish this?
A view controller that you use to offer standard services from your app. iOS 6.0+ iPadOS 6.0+ Mac Catalyst 13.1+
According to Apple docs, UIDocumentInteractionController is a viewcontroller that previews, open, or print files whose file format cannot be handled directly by your app. In short, UIDocumentInteractioncontroller allows us (developers) to open different files using other apps installed on iPhone or iPad device.
Use presentOptionsMenuFromRect:inView:animated:
in UIDocumentInteractionController
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