简体   繁体   English

Flutter 从 iOS 设备下载文件

[英]Flutter download file from iOS device

Flutter, for android, I can access app folder from android studio's Device File Explorer. Flutter,对于 android,我可以从 android studio 的设备文件资源管理器访问 app 文件夹。

How can I access app folder for iOS device.如何访问 iOS 设备的应用程序文件夹。 I need to check downloaded file from iOS device to check file is corrupted or not.我需要检查从 iOS 设备下载的文件以检查文件是否损坏。 Is it possible?可能吗?

  1. In Xcode, go to Window > Devices and Simulators在 Xcode、go 到 Window > 设备和模拟器

2.In the Devices tab, select your application, then click on the Gear icon, then click Download Container... 2.在设备选项卡中,select 您的应用程序,然后单击齿轮图标,然后单击下载容器...

3.Choose the location you want to save the file, then click on Save. 3.选择要保存文件的位置,然后单击保存。

Go to Finder and find the.xcappdata file you just downloaded, then right-click and select Show Package Contents Go 到 Finder 找到刚才下载的.xcappdata 文件,然后右键 select 显示 Package 内容

  1. The contents folder will open.内容文件夹将打开。 Your.sql file is in AppData > Documents > Your_DB_Here Your.sql 文件位于 AppData > Documents > Your_DB_Here

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM