0
我正在使用UIActivityViewController
在我的項目中共享和郵寄。UIActivityViewController中缺少共享服務
但只有郵件服務和消息服務顯示,但不是臉譜,微博和其他服務。顯示UIActivityviewController
NSURL *shareUrl = [NSURL URLWithString:@"http://www.captechconsulting.com"];
UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:nil];
activityViewController.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[self presentViewController:activityViewController animated:YES completion:nil];
OS
NSArray *activityItems = [NSArray arrayWithObjects: shareUrl, nil];
//代碼:ios7
是否依賴於iPhone設置? 我已經啓用權限和我嘗試過,但結果是一樣的....