使用Xamarin的Files App在iOS上共享文件 [英] Sharing Files on iOS using the Files App from Xamarin

查看:104
本文介绍了使用Xamarin的Files App在iOS上共享文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我想拥有一个Xamarin应用程序或Xamarin.UITest编写的中等大小的文件,并由另一应用程序使用.可以假设使用iOS 11 +

我认为这样做的逻辑方法是使用iOS文件App.

我一直在寻找如何与Files App交互的方法,却什么也没看到

谢谢,标记

解决方案

查看此文档,

该应用程序的 Documents 目录现在可用于在 Files 应用程序中浏览.在文件应用中,导航至在我的iPhone上",每个带有共享文件的应用都将可见.下面的屏幕快照显示了

Hello I want to have medium sized Files that one Xamarin app or Xamarin.UITest write and are consumed by yet another App. iOS 11+ can be assumed

I am thinking the logical way to do this is the iOS files App.

I have looked for how to interface with the Files App and have not seen anything

Thanks, Mark

解决方案

Having a look at this document, Sharing with the Files app :

iOS 11 introduced the Files app - a file browser for iOS that allows the user to see and interact with their files in iCloud and also stored by any application that supports it. To allow the user to directly access files in your app, create a new boolean key in the Info.plist file LSSupportsOpeningDocumentsInPlace and set it to true, as here:

The app's Documents directory will now be available for browsing in the Files app. In the Files app, navigate to On My iPhone and each app with shared files will be visible. The screenshots below show what the FileSystem sample app looks like:

这篇关于使用Xamarin的Files App在iOS上共享文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆