- (void)sendImageContent {
NSString *filePath = [[NSBundle mainBundle] pathForResource:@"res1" ofType:@"jpg"];
NSData *imageData = [NSData dataWithContentsOfFile:filePath];
// UIImage *thumbImage = [UIImage imageNamed:@"res1thumb.png"];
NSData *imgData = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://weixintest.ihk.cn/ihkwx_upload/heji/material/img/20160414/1460616012469.jpg"]];
NSData *compImg = [self checkThumbImageSize:imgData];
[WXApiRequestHandler sendImageData:imageData
TagName:kImageTagName
MessageExt:kMessageExt
Action:kMessageAction
ThumbImage:[UIImage imageWithData:compImg]
InScene:_currentScene];
}
微信sdk demo 里的的例子, 可以分享一张图片到朋友圈,能否直接分享多张图片到朋友圈了?