Skip to content

Instantly share code, notes, and snippets.

@Max87ZA
Max87ZA / hyperloop.js
Created March 21, 2023 14:53 — forked from m1ga/hyperloop.js
Appcelerator Titanium - Share data with other apps #appcelerator #titanium #hyperloop
// share items e.g. String with other apps
if (OS_IOS) {
//
// Hyperloop for iOS
//
var UIActivityView = require('UIKit/UIActivityViewController')
var TiApp = require('Titanium/TiApp');
var uiv = UIActivityView.alloc().initWithActivityItemsApplicationActivities(["www.google.com"],null);
TiApp.app().showModalController(uiv, true);