Why does iOS Files not show an app's file folder?

Hong 1,141 Reputation points
2021-04-07T00:46:25.797+00:00

I followed the instructions to configure Info.plist:
85015-image.png

The window "On My iPhone" of Files is still empty. The paths of files created by the app are like the following:
/var/mobile/Containers/Data/Application/2C5B6D11-41CF-4836-9F2D-CAE73F252CD2/Library/Data/My App/Pictures/Snapshot 2021-04-06 170708.jpg
Could anyone offer a tip on this?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,299 questions
0 comments No comments
{count} vote

Accepted answer
  1. JarvanZhang 23,951 Reputation points
    2021-04-07T08:11:07.57+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    Why does iOS Files not show an app's file folder

    To make the file be available for browsing in the Files app, please make sure the file is saved in the app's Documents directory. You could refer to the official smaple code and remember to set LSSupportsOpeningDocumentsInPlace to true in the Info.plist file.

    It works fine on my side, here is the work screenshot:
    85167-image.png

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful