标签:
NSArray *activityItems;
if (self.sharingImage != nil) {
activityItems = @[self.sharingText, self.sharingImage];
} else {
activityItems = @[@"213 http://www.hao123.com"];
}
UIActivityViewController *activityController =
[[UIActivityViewController alloc] initWithActivityItems:activityItems
applicationActivities:nil];
[self presentViewController:activityController
animated:YES completion:nil];
标签:
原文地址:http://www.cnblogs.com/lihaibo-Leao/p/5167103.html