简体   繁体   中英

IOS Flutter App: How to Store Files in iOS Documents File Directory and Save it

For iOS device using Flutter, I have to save file in ios device's File Directory in Documents, BUT device is NOT asking for storage Permission, so NOT able to save file in iOS device.

I have given following access permission: In file Info.plist

<key>NSPhotoLibraryUsageDescription</key>
<string>$(PRODUCT_NAME) uses photos</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>

So please share any solution regarding how to save files in ios.

I think there is no permission dialog in iOS for saving files in documents folder... you infoPlist Key NSPhotoLibraryUsageDescription is for the access of the PhotoPicker in iOS.. thats not the same thing

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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