我正在开发一个应用程序,该应用程序提供用户将他们的应用程序的详细信息分享到Facebook中。我有UITableview它包含作者名称列表,当你点击书名时,它会转到另一个UITableView
,它显示每个TableViewCell
中该作者的不同书。我可以在第二个UITableView
显示列表。 我想知道如何分享作者姓名,书名和图像(第二个tableview细节)。 我显示的代码是这样的.. 所以当用户想分享的细节,他将不得不点击UIButton
这是在作者UITableView
的每个单元格中有。如何在Facebook墙上分享文本和图像(目标C)
didselectatindexpath
NSDictionary *selectedAuthor = nil;
NSArray *sectionArray=[mainIndexDictionary objectForKey:[allKeysArray objectAtIndex:indexPath.section]];
selectedAuthor = [sectionArray objectAtIndex:indexPath.row];
iPath=[[selectedAuthor objectForKey:@"SymptIndexID"] intValue];
NSLog(@"iPath - %d",iPath);
authortitleString=[[selectedAuthor objectForKey:@"authorIndexName"]stringByAppendingString:@" cure!"];
}
bookArray=[objDB customCellData:(NSInteger)iPath];
[self.view bringSubviewToFront:authorView];
[bookTableView scrollRectToVisible:CGRectMake(0.0, 0.0, 320.0,10.0) animated:NO];
[bookTableView reloadData]
;
去通过链接http://www.techotopia.com/index.php/An_iPhone_iOS_6_Facebook_Integration_Tutorial_using_UIActivityViewController – 2013-04-07 17:53:13
我怎么能发布我的当前位置?? – 2015-03-18 08:53:08