我會如何去發佈一個文件,而不是Facebook的圖像?這工作得很好:從文件而不是Facebook發佈圖像?
SLComposeViewController *controllerSLC = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeFacebook];
[controllerSLC setInitialText:@" iPhone app"];
[controllerSLC addURL:[NSURL URLWithString:@"http://www.example.com"]];
[controllerSLC addImage:[UIImage imageNamed:@"icon.png"]];
但是我想從發送圖像:
self.imageView.image = [self.photo objectForKey:photoPictureKey];
你可以得到圖像,UIImage的*圖像= [self.photo objectForKey:photoPictureKey]。 – sathiamoorthy 2013-05-14 09:59:27
self.photo的數據類型是什麼,以及[self.photo objectForKey:photoPictureKey]返回的是什麼? – 2013-05-14 10:11:59