This module allows you to show the familiar "UIActivityViewController" dialogue from iOS 6+.
This allowsyou to share files, open them in other apps, print them, etc.
var documentController = require("de.marcelpociot.documentinteraction");
documentController.showDialog({
url: Ti.Filesystem.getFile( "test.png" ).getNativePath(),
view: button,
animated: false
});
Type: String|File
The location to the file to open for sharing.
iPad only
Type: View
This property determines the view where the popover dialogue should be displayed.
Type: Boolean
Default: TRUE
Wether or not the opening / displaying of the view controller should be animated
If you like this module, feel free to follow me on twitter: @marcelpociot
MIT