diff --git a/ios/src/mindustry/ios/IOSLauncher.java b/ios/src/mindustry/ios/IOSLauncher.java index fa12ea0e48..7faab63ec0 100644 --- a/ios/src/mindustry/ios/IOSLauncher.java +++ b/ios/src/mindustry/ios/IOSLauncher.java @@ -143,11 +143,8 @@ public class IOSLauncher extends IOSApplication.Delegate{ Log.info("Attempting to share file " + file); List 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();