mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-04 15:27:19 +07:00
Fixed #7277
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user