ASFBPostController提交图片到Facebook
ASFBPostController provides photo posting function to Facebook. You can easily integrate Facebook post function to you iOS app.
示例代码:
ASFBPostController *c = [[ASFBPostController alloc] init];
c.thumbnailImage = [UIImage imageNamed:@"sample_thumb.jpg"];
c.originalImage = [UIImage imageNamed:@"sample.jpg"];
UINavigationController *n = [[UINavigationController alloc] initWithRootViewController:c];
n.modalPresentationStyle = UIModalPresentationFormSheet;
[c release];
[self presentModalViewController:n animated:YES];
[n release];
评论