This commit is contained in:
Anuken 2022-08-03 08:29:47 -04:00
parent b7948852b3
commit 6f23fdf195

View File

@ -143,11 +143,8 @@ public class IOSLauncher extends IOSApplication.Delegate{
Log.info("Attempting to share file " + file);
List<Object> list = new ArrayList<>();
list.add(file.name());
list.add(NSData.read(file.file()));
//better choice?
//list.add(new NSURL(file.file()));
list.add(new NSURL(file.file()));
UIActivityViewController p = new UIActivityViewController(list, null);
UIViewController rootVc = UIApplication.getSharedApplication().getKeyWindow().getRootViewController();