Apple File System Read Permission from Photo Library

I have a UIWebView inside my ios application that loads a responsive website into my webview developed in asp.net. The website has a button for selecting videos from the Photo Library device and another button for downloading videos.

In versions prior to iOS version 10.2, it successfully uploads files to the server. Apple introduced the new version of ios 10.3 with the new APFS file system before it became the HFS + file system. In ios 10.3, it prevents my application from reading the video file, and the size 0kb is uploaded to the server. This is because my application does not have read permission for this file.

How to allow the file system to allow reading of a file from my application. Is there anything that can be added to my info.plist

Someone stuck on this issue. Thanks

+1
source share
1 answer

The problem is due to an error in the UIWebView, which makes all the input data to automatically set multiple attributes.

The only solution for iOS 10.3 is to use WKWebView instead, which does not automatically add a multiple attribute.

These are mainly old iOS applications using UIWebView, which I think is the reason that there are not many error messages on the Internet related to this problem.

+2
source

Source: https://habr.com/ru/post/1674945/


All Articles