我对iOS 6的UIActivityViewController有疑问。我想分享图片和文字。 当我通过Facebook分享它时,文本在模态视图中是可编辑的。在Twitter中,我无法更改文本。有没有办法为Twitter改变它,以便文本可编辑?
这是我的代码:
NSArray *activityItems = @[@"Test Text",resultImage];
UIActivityViewController *activityVC = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:nil];
activityVC.excludedActivityTypes = @[UIActivityTypeAssignToContact, UIActivityTypePrint, UIActivityTypeCopyToPasteboard,UIActivityTypeMessage,UIActivityTypePostToWeibo];
[self presentViewController:activityVC animated:YES completion:nil];