本文介绍了Facebook,Twitter图标未显示在iOS7上的UIActivityViewController中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已添加此代码用于呈现 UIActivityViewController
:
I have added this code for presenting a 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];
}
Facebook,Twitter和微博图标未在iOS7中显示。在iOS6中,所有图标都正确显示。请参见下面的屏幕截图:
Facebook, Twitter and Weibo icons are not showing in iOS7. In iOS6, all the icons are showing correctly. See the screenshot below:
我该如何解决这个问题?
How can I solve this?
推荐答案
你可能未在设备设置中登录Facebook或Twitter。除非用户登录,否则它们不会显示在此处。向Apple提交错误。
You're probably not logged in to Facebook or Twitter in the devices Settings. They won't show up here unless the user is logged in. File a bug with Apple.
这篇关于Facebook,Twitter图标未显示在iOS7上的UIActivityViewController中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!