how to use UIActivityViewController with MonoTouch
问题 I am trying to access UIActivityViewController from MonoTouch with the following code: var textToShare = new NSString("hallo there"); var activityItems = new NSObject[] {textToShare}; var excludedActivityTypes = new NSString[] { new NSString("UIActivityTypePostToWeibo"), new NSString("UIActivityTypeMessage") }; var activityViewController = new UIActivityViewController(activityItems, null); activityViewController.ExcludedActivityTypes = excludedActivityTypes; this.PresentViewController