Use UIActivityViewController to share all types of files
问题 I want to use UIActivityViewController to share files from my iOS app. The main question for me is how do I handle different file types. What I'v got so far: Images public void OpenInExternalApp(string filepath) { if (!File.Exists(filepath)) return; UIImage uiImage = UIImage.FromFile(filepath); // Define the content to share var activityItems = new NSObject[] { uiImage }; UIActivity[] applicationActivities = null; var activityController = new UIActivityViewController(activityItems,