我已经添加了用于显示UIActivityViewController的代码:
-(IBAction)activityAction:(id)sender { UIActivityViewController *activityViewController = [[UIActivityViewController alloc]initWithActivityItems:[NSArray arrayWithObjects:@"Hello Welcome!",[UIImage imageNamed:@"scene3.jpg"],nil] applicationActivities:nil]; activityViewController.excludedActivityTypes = @[UIActivityTypePostToFacebook,UIActivityTypePostToTwitter,UIActivityTypePostToWeibo,UIActivityTypeAssignToContact]; [self presentViewController:activityViewController animated:YES completion:nil]; }
iOS7中没有显示Facebook,Twitter和微博图标.在iOS6中,所有图标都正确显示.请参阅下面的截图:
我该如何解决?