ASFBPostController提交图片到Facebook

联合创作 · 2023-09-27 09:58

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];
浏览 7
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报