最初のビュー コントローラーで、iOS 6 のネイティブな Facebook 統合を使用するダイアログ ボックスがあります。最初のView Controllerで作成されたすべての投稿の履歴を、2番目のView ControllerにあるUITableViewCell
. しかし、フィードを取得できるように、2つを相互にリンクする方法を理解できませんでした。
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return 8;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
{
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
if (cell==nil) {
}
if (FBNativeDialogResultSucceeded) {
cell.textLabel.text=@"someone posted on facebook";
}
return cell;
}
どんな助けでも大歓迎です。